Class ClientException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by org.w3c.jigsaw.http.ClientException
All Implemented Interfaces:

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


public Client client


public java.lang.Exception ex
Constructor Detail


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


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


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