Class SpanContextParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class SpanContextParseException
    extends java.lang.Exception
    Exception thrown when a SpanContext 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 new SpanContextParseException with the given message.
      SpanContextParseException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new SpanContextParseException 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SpanContextParseException

        public SpanContextParseException​(java.lang.String message)
        Constructs a new SpanContextParseException 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 new SpanContextParseException with the given message and cause.
        Parameters:
        message - a message describing the parse error.
        cause - the cause of the parse error.
        Since:
        0.7