Package fish.payara.opentracing.tracer
Class InvalidCarrierFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- fish.payara.opentracing.tracer.InvalidCarrierFormatException
-
- All Implemented Interfaces:
Serializable
public class InvalidCarrierFormatException extends IllegalArgumentException
Exception thrown if theFormat
is not supported by the Carrier, or Payara does not support the carrier.- Since:
- 5.183
- Author:
- jonathan coustick
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidCarrierFormatException(io.opentracing.propagation.Format invalidFormat, Object carrierClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCarrierClass()
Returns the carrier class;io.opentracing.propagation.Format
getFormat()
Returns the format that is not supported by the carrierString
getMessage()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InvalidCarrierFormatException
public InvalidCarrierFormatException(io.opentracing.propagation.Format invalidFormat, Object carrierClass)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getFormat
public io.opentracing.propagation.Format getFormat()
Returns the format that is not supported by the carrier- Returns:
-
getCarrierClass
public Object getCarrierClass()
Returns the carrier class;- Returns:
-
-