Package org.kuali.rice.krad.exception
Class DocumentAuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kuali.rice.core.api.exception.KualiException
org.kuali.rice.krad.exception.AuthorizationException
org.kuali.rice.krad.exception.DocumentAuthorizationException
- All Implemented Interfaces:
Serializable
Represents an exception that is thrown when a given user is not authorized to take a given action on the given
document type
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.exception.AuthorizationException
action, additionalDetails, targetType, userId -
Constructor Summary
ConstructorsConstructorDescriptionDocumentAuthorizationException(String userId, String action, String documentId) Constructs a DocumentAuthorizationException for a specific document rather than a documentType.DocumentAuthorizationException(String userId, String action, String documentId, Map<String, Object> requestAuthDetails) -
Method Summary
Methods inherited from class org.kuali.rice.krad.exception.AuthorizationException
getAction, getAdditionalDetails, getTargetType, getUserIdMethods inherited from class org.kuali.rice.core.api.exception.KualiException
isHideIncidentReport, setHideIncidentReportMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DocumentAuthorizationException
Constructs a DocumentAuthorizationException for a specific document rather than a documentType.- Parameters:
userId-action-documentId-
-
DocumentAuthorizationException
-
-
Method Details
-
getErrorMessageKey
- Overrides:
getErrorMessageKeyin classAuthorizationException- Returns:
- message key used by Struts to select the error message to be displayed
- See Also:
-