anyframe.web.struts.util
Class AuthorizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.struts.util.ModuleException
anyframe.web.struts.util.AuthorizationException
- All Implemented Interfaces:
- java.io.Serializable
public class AuthorizationException
- extends org.apache.struts.util.ModuleException
The class for expanding org.apache.struts.util.ModuleException
Handles the exception for authorization
The AuthorizationException occurs in the case the authority is not found
when comparing the userrole's role info and the role info for the requested
url.
- Author:
- Byunghun Woo
- See Also:
- Serialized Form
| Fields inherited from class org.apache.struts.util.ModuleException |
message, property |
|
Constructor Summary |
AuthorizationException()
The case for creating the instance without the key value for the Exception Message
The message's key is error.common.msg.authorization. |
AuthorizationException(java.lang.String key)
Sets as exception message for the appropriate value of the message key value. |
AuthorizationException(java.lang.String key,
java.lang.String urlname)
Setting as exception message the value appropriate to the message key and urlname |
| Methods inherited from class org.apache.struts.util.ModuleException |
getActionMessage, getProperty, setProperty |
| 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 |
AuthorizationException
public AuthorizationException()
- The case for creating the instance without the key value for the Exception Message
The message's key is
error.common.msg.authorization.
AuthorizationException
public AuthorizationException(java.lang.String key)
- Sets as exception message for the appropriate value of the message key value.
- Parameters:
key - The message key registered in message resources
AuthorizationException
public AuthorizationException(java.lang.String key,
java.lang.String urlname)
- Setting as exception message the value appropriate to the message key and urlname
- Parameters:
key - the message key registered in message resourcesurlname - requested url
Copyright © 2008-2009 Samsung SDS. All Rights Reserved.