Package edu.vt.middleware.ldap.ed
Class EdAuthAuthorizationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- edu.vt.middleware.ldap.ed.EdAuthAuthorizationException
-
- All Implemented Interfaces:
Serializable
public class EdAuthAuthorizationException extends Exception
Authorization exception thrown byEdAuthService.authorize(org.ldaptive.LdapEntry, String)
.- Author:
- Middleware Services
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
EDAUTH_EXCEPTION_MSG_AUTHZ_EXPR_FAILED
Error message for a mistyped authorization expression string.static String
EDAUTH_EXCEPTION_MSG_AUTHZ_FAILED
Error message for authorization failure.static String
EDAUTH_EXCEPTION_MSG_KEYSET_EMPTY
Error message for trying to authorize with an empty authorization.
-
Constructor Summary
Constructors Constructor Description EdAuthAuthorizationException()
Creates a new EdAuthAuthorization exception.EdAuthAuthorizationException(String message)
Creates a new EdAuthAuthorization exception.EdAuthAuthorizationException(String message, Throwable cause)
Creates a new EdAuthAuthorization exception.EdAuthAuthorizationException(Throwable cause)
Creates a new EdAuthAuthorization exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Field Detail
-
EDAUTH_EXCEPTION_MSG_AUTHZ_FAILED
public static final String EDAUTH_EXCEPTION_MSG_AUTHZ_FAILED
Error message for authorization failure.- See Also:
- Constant Field Values
-
EDAUTH_EXCEPTION_MSG_AUTHZ_EXPR_FAILED
public static final String EDAUTH_EXCEPTION_MSG_AUTHZ_EXPR_FAILED
Error message for a mistyped authorization expression string.- See Also:
- Constant Field Values
-
EDAUTH_EXCEPTION_MSG_KEYSET_EMPTY
public static final String EDAUTH_EXCEPTION_MSG_KEYSET_EMPTY
Error message for trying to authorize with an empty authorization.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EdAuthAuthorizationException
public EdAuthAuthorizationException()
Creates a new EdAuthAuthorization exception.
-
EdAuthAuthorizationException
public EdAuthAuthorizationException(String message)
Creates a new EdAuthAuthorization exception.- Parameters:
message
- describing this exception
-
EdAuthAuthorizationException
public EdAuthAuthorizationException(String message, Throwable cause)
Creates a new EdAuthAuthorization exception.- Parameters:
message
- describing this exceptioncause
- root cause
-
EdAuthAuthorizationException
public EdAuthAuthorizationException(Throwable cause)
Creates a new EdAuthAuthorization exception.- Parameters:
cause
- root cause
-
-