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