java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.enhydra.servlet.ServletIOException
- All Implemented Interfaces:
- java.io.Serializable
- public class ServletIOException
- extends java.io.IOException
IOException derived class that is thrown when the servlet encounters
an I/O error when talking to a client. This allows connection methods
to determine how the error should be handled, even though it was generated
by a call that occured in servlet code.
| Nested classes inherited from class java.lang.Throwable |
|
|
Field Summary |
private boolean |
trueIOException
Flag that indicates that this came from an a I/O operation
rather than a generated exception. |
| Fields inherited from class java.lang.Throwable |
|
|
Method Summary |
boolean |
isTrueIOException()
Did this exception come from an a I/O operation
rather than a generated exception. |
static java.io.IOException |
rethrow(java.io.IOException except)
Static method that does the approriate conversion from an IOException
to a ServletIOException If the exception is already an
ServletIOException, it is simple rethrown. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
trueIOException
private boolean trueIOException
- Flag that indicates that this came from an a I/O operation
rather than a generated exception.
ServletIOException
public ServletIOException(java.io.IOException except)
- Construct a new exception from an existing IOException.
ServletIOException
public ServletIOException(java.lang.String msg)
- Construct a new exception with a specific message.
rethrow
public static java.io.IOException rethrow(java.io.IOException except)
throws java.io.IOException
- Static method that does the approriate conversion from an IOException
to a ServletIOException If the exception is already an
ServletIOException, it is simple rethrown. If it is another type of
IOException, it is converted to a ServletIOException.
isTrueIOException
public boolean isTrueIOException()
- Did this exception come from an a I/O operation
rather than a generated exception.