Class InvalidResourceUsageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.shiro.lang.ShiroException
org.apache.shiro.dao.DataAccessException
org.apache.shiro.dao.InvalidResourceUsageException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnsupportedAuthenticationMechanismException
Root exception indicating invalid or incorrect usage of a data access resource. This is thrown
typically when incorrectly using the resource or its API.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidResourceUsageException(String message) Constructs an InvalidResourceUsageException with a message explaining the cause of the exception.InvalidResourceUsageException(String message, Throwable cause) Constructs a InvalidResourceUsageException with a message explaining the cause of the exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidResourceUsageException
Constructs an InvalidResourceUsageException with a message explaining the cause of the exception.- Parameters:
message- the message explaining the cause of the exception
-
InvalidResourceUsageException
Constructs a InvalidResourceUsageException with a message explaining the cause of the exception.- Parameters:
message- the explanationcause- the root cause of the exception, typically an API-specific exception
-