cx.ath.matthew.cgi
Class DefaultErrorHandler
java.lang.Object
cx.ath.matthew.cgi.DefaultErrorHandler
- All Implemented Interfaces:
- CGIErrorHandler
public class DefaultErrorHandler
- extends Object
- implements CGIErrorHandler
Interface to handle exceptions in the CGI.
Method Summary |
void |
print(boolean headers_sent,
Exception e)
This is called if an exception is not caught in the CGI. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultErrorHandler
public DefaultErrorHandler()
print
public void print(boolean headers_sent,
Exception e)
- This is called if an exception is not caught in the CGI.
It should handle printing the error message nicely to the user,
and then exit gracefully.
- Specified by:
print
in interface CGIErrorHandler