|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.getsnappy.snappyj.DefaultMessageApplicationErrorHandler
public class DefaultMessageApplicationErrorHandler
The DefaultMessageapplicationErrorHandler simply outputs a generic message to out. For example when used with the default constructor the following code is execute by handleException out.write("An Error has Occured!");
ApplicationInstance| Constructor Summary | |
|---|---|
DefaultMessageApplicationErrorHandler()
Sets the defaultMessage to "An Error has Occured!" |
|
DefaultMessageApplicationErrorHandler(java.lang.String defaultMessage)
Sets the defaultMessage to the param defaultMessage. |
|
| Method Summary | |
|---|---|
void |
handleException(java.lang.Exception e,
java.io.Writer out,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This error handler simply prints out defaultMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMessageApplicationErrorHandler()
public DefaultMessageApplicationErrorHandler(java.lang.String defaultMessage)
defaultMessage - | Method Detail |
|---|
public void handleException(java.lang.Exception e,
java.io.Writer out,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
handleException in interface ApplicationErrorHandlerout - is not used in this implementationrequest - is not used in this implementationresponse - is not used in this implementation
java.lang.Exception - always re-throw e out unmodified
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||