|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.cfa.vo.tapclient.tap.Error
public class Error
An object that can be used to get information about error conditions resulting from an asynchronous query.
AsyncJob
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the error message for this error summary |
java.lang.String |
getType()
Returns the error type for this error summary |
boolean |
isDetailedErrorAvailable()
Returns true if a detailed error is available on the TAP service |
void |
list(java.io.PrintStream output)
|
java.io.InputStream |
openStream()
Returns an InputStream containing the TAP service response to a request for the detailed error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getMessage()
public java.lang.String getType()
public boolean isDetailedErrorAvailable()
public java.io.InputStream openStream() throws HttpException, java.io.IOException
HttpException
- if the service responses with an unexpected HTTP status.
java.io.IOException
- if an error occurs creating the InputStream
java.lang.NullPointerException
- if either service or jobId is nullisDetailedErrorAvailable()
public void list(java.io.PrintStream output) throws HttpException, java.io.IOException
HttpException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |