com.flat502.rox.http
Class ProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.flat502.rox.http.ProcessingException
- All Implemented Interfaces:
- java.io.Serializable
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
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 |
ProcessingException
public ProcessingException(java.lang.Throwable cause)
ProcessingException
public ProcessingException(HttpRpcProcessor processor,
java.net.Socket socket,
java.lang.Throwable cause)
getSocket
public java.net.Socket getSocket()
- Get the socket the processing exception is associated
with.
- Returns:
- The socket associated with this exception. May be
null
.
getProcessor
public HttpRpcProcessor getProcessor()