|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.servlet.ExceptionHandler
public class ExceptionHandler
Handles an exception occuring during the request disptaching.
Constructor Summary | |
---|---|
ExceptionHandler()
|
Method Summary | |
---|---|
void |
handle(HttpServletRequest request,
HttpServletResponse response)
Handle a URL request that has been mapped to this Handler |
void |
setException(java.lang.Exception cause)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionHandler()
Method Detail |
---|
public void handle(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException
Handler
handle
in interface Handler
request
- The HTTP request dataresponse
- Where we write the HTTP response data
java.io.IOException
- If the write process failspublic void setException(java.lang.Exception cause)
cause
- The cause of the failure
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |