Package com.solace.serdes
Class SerializationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.solace.serdes.SerializationException
-
- All Implemented Interfaces:
Serializable
public class SerializationException extends RuntimeException
Runtime exception raised when an error occurs as a part ofDeserializer
orSerializer
operation.
Example operations:- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SerializationException()
Constructs a new serialization exception with null as its detail message.SerializationException(String message)
Constructs a new serialization exception with message.SerializationException(String message, Throwable cause)
Constructs a new serialization exception with the specified detail message and cause.SerializationException(Throwable cause)
Constructs a new serialization exception with the specified cause and a detail message of (cause==null ?
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
SerializationException
public SerializationException()
Constructs a new serialization exception with null as its detail message.
-
SerializationException
public SerializationException(String message)
Constructs a new serialization exception with message.- Parameters:
message
- the detail message.
-
SerializationException
public SerializationException(Throwable cause)
Constructs a new serialization exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for serialization exceptions that are little more than wrappers for other throwables.- Parameters:
cause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
SerializationException
public SerializationException(String message, Throwable cause)
Constructs a new serialization exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this serialization exception's detail message.- Parameters:
message
- the detail message.cause
- the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-
-