org.ogf.saga.error
Class IncorrectStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ogf.saga.error.SagaException
              extended by org.ogf.saga.error.IncorrectStateException
All Implemented Interfaces:
Serializable, Comparable<SagaException>, Iterable<SagaException>

public class IncorrectStateException
extends SagaException

This exception indicates that the object on which a method is called is in a state where that method cannot succeed.

See Also:
Serialized Form

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
IncorrectStateException()
          Constructs an IncorrectState exception.
IncorrectStateException(String message)
          Constructs an IncorrectState exception with the specified detail message.
IncorrectStateException(String message, SagaObject object)
          Constructs an IncorrectState exception with the specified detail message and associated SAGA object.
IncorrectStateException(String message, Throwable cause)
          Constructs an IncorrectState exception with the specified detail message and cause.
IncorrectStateException(String detail, Throwable cause, SagaObject object)
          Constructs a new IncorrectStateException with the specified detail message, specified cause and associated SAGA object.
IncorrectStateException(Throwable cause)
          Constructs an IncorrectState exception with the specified cause.
IncorrectStateException(Throwable cause, SagaObject object)
          Constructs a new IncorrectStateException with the specified cause and associated SAGA object.
 
Method Summary
 
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

IncorrectStateException

public IncorrectStateException()
Constructs an IncorrectState exception.


IncorrectStateException

public IncorrectStateException(String message)
Constructs an IncorrectState exception with the specified detail message.

Parameters:
message - the detail message.

IncorrectStateException

public IncorrectStateException(Throwable cause)
Constructs an IncorrectState exception with the specified cause.

Parameters:
cause - the cause.

IncorrectStateException

public IncorrectStateException(String message,
                               Throwable cause)
Constructs an IncorrectState exception with the specified detail message and cause.

Parameters:
message - the detail message.
cause - the cause.

IncorrectStateException

public IncorrectStateException(String message,
                               SagaObject object)
Constructs an IncorrectState exception with the specified detail message and associated SAGA object.

Parameters:
message - the detail message.
object - the associated SAGA object.

IncorrectStateException

public IncorrectStateException(Throwable cause,
                               SagaObject object)
Constructs a new IncorrectStateException with the specified cause and associated SAGA object.

Parameters:
cause - the cause.
object - the SAGA object associated with the exception.

IncorrectStateException

public IncorrectStateException(String detail,
                               Throwable cause,
                               SagaObject object)
Constructs a new IncorrectStateException with the specified detail message, specified cause and associated SAGA object.

Parameters:
detail - the detail message.
cause - the cause.
object - the SAGA object associated with the exception.


Copyright © 2014 Open Grid Forum. All rights reserved.