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 newSpanContextParseExceptionwith the given message.SpanContextParseException(String message, Throwable cause) Constructs a newSpanContextParseExceptionwith the given message and cause. -
Method Summary
Methods inherited from class 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 newSpanContextParseExceptionwith the given message.- Parameters:
message- a message describing the parse error.- Since:
- 0.7
-
SpanContextParseException
-