Package i5.las2peer.persistency
Class DecodingFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
i5.las2peer.persistency.DecodingFailedException
- All Implemented Interfaces:
java.io.Serializable
public class DecodingFailedException
extends java.lang.Exception
Exception thrown, if the decoding has failed for some reason.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DecodingFailedException(java.lang.String message)
This constructor sets only the message for this exception and leaves the cause tonull
.DecodingFailedException(java.lang.String message, java.lang.Throwable cause)
This constructor allows to set message and cause for this exception.DecodingFailedException(java.lang.Throwable cause)
This constructor leaves the messagenull
and sets only the cause for this exception. -
Method Summary
-
Constructor Details
-
DecodingFailedException
public DecodingFailedException(java.lang.String message)This constructor sets only the message for this exception and leaves the cause tonull
.- Parameters:
message
- A message that describes the error.
-
DecodingFailedException
public DecodingFailedException(java.lang.Throwable cause)This constructor leaves the messagenull
and sets only the cause for this exception. This is usually used to wrap other exception types and unify exception handling for the developer.- Parameters:
cause
- An other exception that caused this one.
-
DecodingFailedException
public DecodingFailedException(java.lang.String message, java.lang.Throwable cause)This constructor allows to set message and cause for this exception.- Parameters:
message
- A message that describes the error.cause
- An other exception that caused this one.
-