jp.terasoluna.fw.web.thin
Class UnauthorizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
jp.terasoluna.fw.web.thin.UnauthorizedException
- All Implemented Interfaces:
- java.io.Serializable
public class UnauthorizedException
- extends javax.servlet.ServletException
Authorization exception class.
This class notifies that the framework has detected a request for the path to which user does not have access authority.
AuthorizationControlFilter
generates this exception and
error page is displayed through container.
For the exception related details, refer to AuthorizationControlFilter
.
Provide the following description in deployment descriptor (web.xml).
<web-app>
...
<error-page>
<exception-type>
jp.terasoluna.fw.web.thin.UnauthorizedException
</exception-type>
<location>/error/authorized-error.do</location>
</error-page>
...
</web-app>
- See Also:
AuthorizationControlFilter
,
AuthorizationController
,
Serialized Form
Methods inherited from class javax.servlet.ServletException |
getRootCause |
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 |
serialVersionUID
private static final long serialVersionUID
- Serial version ID
- See Also:
- Constant Field Values
UnauthorizedException
public UnauthorizedException()