Class ProcessingException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.flat502.rox.http.ProcessingException
All Implemented Interfaces:

public class ProcessingException
extends java.lang.Exception

Encapsulates a general processing exception.

An exception that wraps up another exception that was raised during processing performed in the central processing loop of an HttpRpcProcessor instance and that was not directly related to an HTTP message instance.

A processing exception may be associated with a Socket instance. If so the socket can be retrieved using the getSocket() method.

See Also:
Serialized Form

Constructor Summary
ProcessingException(HttpRpcProcessor processor, socket, java.lang.Throwable cause)
ProcessingException(java.lang.Throwable cause)
Method Summary
 HttpRpcProcessor getProcessor()
          Get the socket the processing exception is associated with.
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

Constructor Detail


public ProcessingException(java.lang.Throwable cause)


public ProcessingException(HttpRpcProcessor processor,
                           java.lang.Throwable cause)
Method Detail


public getSocket()
Get the socket the processing exception is associated with.

The socket associated with this exception. May be null.


public HttpRpcProcessor getProcessor()