|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.lutris.appserver.server.httpPresentation.HttpPresentationIOException
public class HttpPresentationIOException
IOException derived class that is thrown when the presentation manager encounters an I/O error when talking to a client. This allows the methods to determine how the error should be handled, even though it was generated by a call that occured in presentation code.
Constructor Summary | |
---|---|
HttpPresentationIOException(java.io.IOException except)
Construct a new exception from an existing IOException. |
|
HttpPresentationIOException(java.lang.String msg)
Construct a new exception with a specific message. |
Method Summary | |
---|---|
static boolean |
isClientIOException(java.lang.Throwable except)
Given a exception or error, determine if its generated by a HTTP client I/O exception. |
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 HttpPresentationIOException If the exception is already an HttpPresentationIOException, 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 HttpPresentationIOException(java.io.IOException except)
except
- The exception to encapsulate.public HttpPresentationIOException(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()
public static boolean isClientIOException(java.lang.Throwable except)
except
- Exception to check.
true
if this is cause by the client socket,
false
if not.
|
EAF 7.6 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |