Package org.openhab.core.io.dto
Class SerializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.openhab.core.io.dto.SerializationException
- All Implemented Interfaces:
Serializable
Signals that a serialization or deserialization exception of some sort has occurred.
- Author:
- Ravi Nadahar - Initial contribution
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationException(@Nullable String message) Creates aSerializationExceptionwith the specified detail message.SerializationException(@Nullable String message, @Nullable Throwable cause) Creates aSerializationExceptionwith the specified cause and detail message.SerializationException(@Nullable Throwable cause) Creates aSerializationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString()). -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SerializationException
Creates aSerializationExceptionwith the specified detail message.- Parameters:
message- the detail message.
-
SerializationException
Creates aSerializationExceptionwith the specified cause and a detail message of(cause==null ? null : cause.toString()).- Parameters:
cause- the cause. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-
SerializationException
Creates aSerializationExceptionwith the specified cause and detail message.- Parameters:
message- the detail message.cause- the cause. Anullvalue is permitted, and indicates that the cause is nonexistent or unknown.
-