Package io.opencensus.trace.propagation
Class SpanContextParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.opencensus.trace.propagation.SpanContextParseException
- All Implemented Interfaces:
Serializable
Exception thrown when a
SpanContext
cannot be parsed.- Since:
- 0.7
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpanContextParseException
(String message) Constructs a newSpanContextParseException
with the given message.SpanContextParseException
(String message, Throwable cause) Constructs a newSpanContextParseException
with the given message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
SpanContextParseException
Constructs a newSpanContextParseException
with the given message.- Parameters:
message
- a message describing the parse error.- Since:
- 0.7
-
SpanContextParseException
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
-