org.kuali.rice.krad.exception
Class DocumentTypeAuthorizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.core.api.exception.KualiException
                  extended by org.kuali.rice.krad.exception.AuthorizationException
                      extended by org.kuali.rice.krad.exception.DocumentTypeAuthorizationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InactiveDocumentTypeAuthorizationException

public class DocumentTypeAuthorizationException
extends AuthorizationException

This class represents an exception that is thrown when a given user is not authorized to take a given action on the given document type.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.krad.exception.AuthorizationException
action, additionalDetails, targetType, userId
 
Constructor Summary
DocumentTypeAuthorizationException(String userId, String action, String documentType)
           
DocumentTypeAuthorizationException(String userId, String action, String documentType, Map<String,Object> requestAuthDetails)
           
 
Method Summary
 String getErrorMessageKey()
           
 
Methods inherited from class org.kuali.rice.krad.exception.AuthorizationException
getAction, getAdditionalDetails, getTargetType, getUserId
 
Methods inherited from class org.kuali.rice.core.api.exception.KualiException
isHideIncidentReport, setHideIncidentReport
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentTypeAuthorizationException

public DocumentTypeAuthorizationException(String userId,
                                          String action,
                                          String documentType)

DocumentTypeAuthorizationException

public DocumentTypeAuthorizationException(String userId,
                                          String action,
                                          String documentType,
                                          Map<String,Object> requestAuthDetails)
Method Detail

getErrorMessageKey

public String getErrorMessageKey()
Overrides:
getErrorMessageKey in class AuthorizationException
Returns:
message key used by Struts to select the error message to be displayed
See Also:
AuthorizationException.getErrorMessageKey()


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.