org.apache.jserv
Interface JServSendError

All Known Implementing Classes:
JServContext, JServLog, JServConnection

abstract interface JServSendError

The JServSendError interface is implemented by classes that know how to return an error to the web server.

Because methods of this interface are called when something is already going wrong, they should silently absorb IOExceptions or any other problem that may occur while reporting the error.

Version:
$Revision: 1.4 $ $Date: 1999/04/26 00:33:59 $

Method Summary
 void sendError(int sc, java.lang.String msg)
           
 void sendError(java.lang.Throwable ex)
           
 

Method Detail

sendError

public void sendError(int sc,
                      java.lang.String msg)

sendError

public void sendError(java.lang.Throwable ex)