org.kuali.rice.krad.exception
Class DocumentAuthorizationException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.kuali.rice.core.api.exception.KualiException
org.kuali.rice.core.api.exception.KualiException
                   org.kuali.rice.krad.exception.AuthorizationException
org.kuali.rice.krad.exception.AuthorizationException
                       org.kuali.rice.krad.exception.DocumentAuthorizationException
org.kuali.rice.krad.exception.DocumentAuthorizationException
- All Implemented Interfaces: 
- Serializable
- public class DocumentAuthorizationException 
- 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
 
 
 
 
 
 
| Methods inherited from class java.lang.Throwable | 
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
 
 
DocumentAuthorizationException
public DocumentAuthorizationException(String userId,
                                      String action,
                                      String documentId)
- Constructs a DocumentAuthorizationException for a specific document rather than a documentType.
 
- Parameters:
- userId-
- action-
- documentId-
 
DocumentAuthorizationException
public DocumentAuthorizationException(String userId,
                                      String action,
                                      String documentId,
                                      Map<String,Object> requestAuthDetails)
getErrorMessageKey
public String getErrorMessageKey()
- 
- Overrides:
- getErrorMessageKeyin class- AuthorizationException
 
- 
- Returns:
- message key used by Struts to select the error message to be displayed
- See Also:
- AuthorizationException.getErrorMessageKey()
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.