Package io.opencensus.trace.propagation
Class SpanContextParseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.opencensus.trace.propagation.SpanContextParseException
-
- All Implemented Interfaces:
java.io.Serializable
public final class SpanContextParseException extends java.lang.Exception
Exception thrown when aSpanContext
cannot be parsed.- Since:
- 0.7
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description SpanContextParseException(java.lang.String message)
Constructs a newSpanContextParseException
with the given message.SpanContextParseException(java.lang.String message, java.lang.Throwable cause)
Constructs a newSpanContextParseException
with the given message and cause.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpanContextParseException
public SpanContextParseException(java.lang.String message)
Constructs a newSpanContextParseException
with the given message.- Parameters:
message
- a message describing the parse error.- Since:
- 0.7
-
SpanContextParseException
public SpanContextParseException(java.lang.String message, java.lang.Throwable cause)
Constructs a newSpanContextParseException
with the given message and cause.- Parameters:
message
- a message describing the parse error.cause
- the cause of the parse error.- Since:
- 0.7
-
-