org.w3c.jigsaw.http
Class ClientException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.w3c.tools.resources.ResourceException
              extended by org.w3c.jigsaw.http.ClientException
All Implemented Interfaces:
java.io.Serializable

public class ClientException
extends ResourceException

ClientException is used to terminate a channel with a specific client. Each client is represented within the server by some Client instance which is used to keep track of it. When such a client context errs severly (ie IO errors, bad HTTP spoken, etc) the connections has to be cleaned up and closed, that's the purpose of this exception.

See Also:
Client, Serialized Form

Field Summary
 Client client
           
 java.lang.Exception ex
           
 
Constructor Summary
ClientException(Client client, java.lang.Exception ex)
           
ClientException(Client client, java.lang.Exception ex, java.lang.String msg)
           
ClientException(Client client, java.lang.String msg)
           
 
Method Summary
 
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
 

Field Detail

client

public Client client

ex

public java.lang.Exception ex
Constructor Detail

ClientException

public ClientException(Client client,
                       java.lang.String msg)

ClientException

public ClientException(Client client,
                       java.lang.Exception ex)

ClientException

public ClientException(Client client,
                       java.lang.Exception ex,
                       java.lang.String msg)