Package org.apache.shiro.dao
Class InvalidResourceUsageException
-
-
-
-
- org.apache.shiro.ShiroException
-
- org.apache.shiro.dao.DataAccessException
-
- org.apache.shiro.dao.InvalidResourceUsageException
-
-
-
-
- All Implemented Interfaces:
- Direct Known Subclasses:
UnsupportedAuthenticationMechanismException
public class InvalidResourceUsageException extends DataAccessException
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:
- Serialized Form
-
-
Constructor Detail
-
InvalidResourceUsageException
public InvalidResourceUsageException( message)
Constructs an InvalidResourceUsageException with a message explaining the cause of the exception.- Parameters:
message
- the message explaining the cause of the exception
-
InvalidResourceUsageException
public InvalidResourceUsageException( message, cause)
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
-
-