|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.ogf.saga.error.SagaException
org.ogf.saga.error.SagaIOException
public class SagaIOException
This exception is specific to the Java Language Bindings for SAGA, which uses this exception for some methods, instead of returning POSIX error code.
Field Summary |
---|
Fields inherited from class org.ogf.saga.error.SagaException |
---|
ALREADY_EXISTS, AUTHENTICATION_FAILED, AUTHORIZATION_FAILED, BAD_PARAMETER, DOES_NOT_EXIST, INCORRECT_STATE, INCORRECT_URL, IO_EXCEPTION, NO_SUCCESS, NOT_IMPLEMENTED, PERMISSION_DENIED, TIMEOUT |
Constructor Summary | |
---|---|
SagaIOException()
Constructs an SagaIO exception. |
|
SagaIOException(String message)
Constructs an SagaIO exception with the specified detail message. |
|
SagaIOException(String message,
int code)
Constructs an SagaIO exception with the specified detail message and error code, |
|
SagaIOException(String message,
SagaObject object)
Constructs an SagaIO exception with the specified detail message and associated SAGA object. |
|
SagaIOException(String message,
Throwable cause)
Constructs an SagaIO exception with the specified detail message and cause. |
|
SagaIOException(String message,
Throwable cause,
int code,
SagaObject object)
Constructs an SagaIO exception with the specified detail message. |
|
SagaIOException(String detail,
Throwable cause,
SagaObject object)
Constructs a new SagaIOException with the specified detail message, specified cause and associated SAGA object. |
|
SagaIOException(Throwable cause)
Constructs an SagaIO exception with the specified cause. |
|
SagaIOException(Throwable cause,
SagaObject object)
Constructs a new SagaIOException with the specified cause and associated SAGA object. |
Method Summary | |
---|---|
int |
getPosixErrorCode()
Returns the POSIX error code associated with this exception, in case it is available. |
Methods inherited from class org.ogf.saga.error.SagaException |
---|
addNestedException, compareTo, getAllExceptions, getAllMessages, getObject, iterator, toString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SagaIOException()
public SagaIOException(String message)
message
- the detail message.public SagaIOException(String message, int code)
message
- the detail message.code
- the error code.public SagaIOException(Throwable cause)
cause
- the cause.public SagaIOException(String message, Throwable cause)
message
- the detail message.cause
- the cause.public SagaIOException(String message, SagaObject object)
message
- the detail message.object
- the associated SAGA object.public SagaIOException(Throwable cause, SagaObject object)
cause
- the cause.object
- the SAGA object associated with the exception.public SagaIOException(String detail, Throwable cause, SagaObject object)
detail
- the detail message.cause
- the cause.object
- the SAGA object associated with the exception.public SagaIOException(String message, Throwable cause, int code, SagaObject object)
message
- the detail message.code
- the error code.cause
- the cause.object
- the associated SAGA object.Method Detail |
---|
public int getPosixErrorCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |