osl.handler
Class RequestException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--osl.handler.RequestException

public class RequestException
extends java.io.IOException

This class defines an exception which is thrown when an error is encountered by the request handler or one of its sessions. The actual exception thrown may depend on the implementation or the type of exception thrown by a remote client. This class merely serves as a wrapper for whatever exception happened to be thrown. Note that this class extends IOException so that it can be thrown from custom written serialization methods.

Version:
$Revision: 1.4 $ ($Date: 1999/03/06 21:18:36 $)
See Also:
RequestHandler, RequestSession, Serialized Form

Field Summary
 java.lang.Throwable detail
          The nested exception.
 
Constructor Summary
RequestException()
          The default constructor with no message.
RequestException(java.lang.String s)
          The default constructor with a message.
RequestException(java.lang.String s, java.lang.Throwable t)
          Constructor used to build an encapsulated exception.
 
Method Summary
 java.lang.String getMessage()
          Produce the message, include the message from the nested exception if there is one.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

detail

public java.lang.Throwable detail
The nested exception.
Constructor Detail

RequestException

public RequestException()
The default constructor with no message.

RequestException

public RequestException(java.lang.String s)
The default constructor with a message.

RequestException

public RequestException(java.lang.String s,
                        java.lang.Throwable t)
Constructor used to build an encapsulated exception.
Method Detail

getMessage

public java.lang.String getMessage()
Produce the message, include the message from the nested exception if there is one.
Overrides:
getMessage in class java.lang.Throwable