|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.io.IOException | +--org.enhydra.servlet.ServletIOException
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.
Constructor Summary | |
ServletIOException(java.io.IOException except)
Construct a new exception from an existing IOException. |
|
ServletIOException(java.lang.String msg)
Construct a new exception with a specific message. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServletIOException(java.io.IOException except)
except
- The exception to encapsulate.public ServletIOException(java.lang.String msg)
msg
- The error messageMethod Detail |
public static java.io.IOException rethrow(java.io.IOException except) throws java.io.IOException
except
- The exception to rethrow or encapsulate.
java.io.IOException
public boolean isTrueIOException()
|
Enhydra 5.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |