Package org.apache.shiro.codec
Class CodecException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.codec.CodecException
-
- All Implemented Interfaces:
Serializable
public class CodecException extends ShiroException
Root exception related to issues during encoding or decoding.- Since:
- 0.9
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CodecException()
Creates a newCodecException
.CodecException(String message)
Creates a newCodecException
.CodecException(String message, Throwable cause)
Creates a newCodecException
.CodecException(Throwable cause)
Creates a newCodecException
.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CodecException
public CodecException()
Creates a newCodecException
.
-
CodecException
public CodecException(String message)
Creates a newCodecException
.- Parameters:
message
- the reason for the exception.
-
CodecException
public CodecException(Throwable cause)
Creates a newCodecException
.- Parameters:
cause
- the underlying cause of the exception.
-
CodecException
public CodecException(String message, Throwable cause)
Creates a newCodecException
.- Parameters:
message
- the reason for the exception.cause
- the underlying cause of the exception.
-
-