Package org.apache.shiro.util
Class UnknownClassException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.util.UnknownClassException
-
- All Implemented Interfaces:
Serializable
public class UnknownClassException extends ShiroException
The Shiro framework'sRuntimeException
equivalent of the JDK'sClassNotFoundException
, to maintain a RuntimeException paradigm.- Since:
- 0.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownClassException()
Creates a new UnknownClassException.UnknownClassException(String message)
Constructs a new UnknownClassException.UnknownClassException(String message, Throwable cause)
Constructs a new UnknownClassException.UnknownClassException(Throwable cause)
Constructs a new UnknownClassException.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownClassException
public UnknownClassException()
Creates a new UnknownClassException.
-
UnknownClassException
public UnknownClassException(String message)
Constructs a new UnknownClassException.- Parameters:
message
- the reason for the exception
-
UnknownClassException
public UnknownClassException(Throwable cause)
Constructs a new UnknownClassException.- Parameters:
cause
- the underlying Throwable that caused this exception to be thrown.
-
UnknownClassException
public UnknownClassException(String message, Throwable cause)
Constructs a new UnknownClassException.- Parameters:
message
- the reason for the exceptioncause
- the underlying Throwable that caused this exception to be thrown.
-
-