jp.terasoluna.fw.web.thin
Class BlockageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.servlet.ServletException
jp.terasoluna.fw.web.thin.BlockageException
- All Implemented Interfaces:
- java.io.Serializable
public class BlockageException
- extends javax.servlet.ServletException
Business blockage exception class.
When the framework detects that the server is in blocked state, this class is used to notify the blocked state of the server.
BlockageControlFilter
is applied and error page is displayed through the container.
Configuration example
Provide the following description in the deployment descriptor(web.xml).
<web-app>
...
<error-page>
<exception-type>
jp.terasoluna.fw.web.thin.BlockageException
</exception-type>
<location>
/blockageError.html
</location>
</error-page>
...
</web-app>
For the business blockage process, refer to BlockageControlFilter
,
BlockageController
.
- See Also:
BlockageControlFilter
,
BlockageController
,
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
BlockageException
public BlockageException()