Class MessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sportradar.livedata.sdk.common.exceptions.SdkException
com.sportradar.livedata.sdk.proto.common.MessageException
- All Implemented Interfaces:
- Serializable
An exception thrown when the message cannot be created from the data or message data cannot be written to the target type.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMessageException(String message) Initializes a new instance of theMessageExceptionclass.MessageException(String message, Throwable cause) Initializes a new instance of theMessageExceptionclass.MessageException(Throwable cause) Initializes a new instance of theMessageExceptionclass.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
MessageExceptionInitializes a new instance of theMessageExceptionclass.- Parameters:
- message- the detail message (which is saved for later retrieval by the- getMessage()method).
 
- 
MessageExceptionInitializes a new instance of theMessageExceptionclass.- Parameters:
- cause- the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
 
- 
MessageExceptionInitializes a new instance of theMessageExceptionclass.- Parameters:
- message- the detail message (which is saved for later retrieval by the- getMessage()method).
- cause- the cause (which is saved for later retrieval by the {code getCause()} method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
 
 
-