org.ogf.saga.error
Class AlreadyExistsException

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.AlreadyExistsException
All Implemented Interfaces:
Serializable, Comparable<SagaException>, Iterable<SagaException>

public class AlreadyExistsException
extends SagaException

This exception indicate that an operation cannot succeed because the entity to be created or registered already exists or is already registered.

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

AlreadyExistsException

public AlreadyExistsException()
Constructs an AlreadyExists exception.


AlreadyExistsException

public AlreadyExistsException(String message)
Constructs an AlreadyExists exception with the specified detail message.

Parameters:
message - the detail message.

AlreadyExistsException

public AlreadyExistsException(Throwable cause)
Constructs an AlreadyExists exception with the specified cause.

Parameters:
cause - the cause.

AlreadyExistsException

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

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

AlreadyExistsException

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

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

AlreadyExistsException

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

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

AlreadyExistsException

public AlreadyExistsException(String detail,
                              Throwable cause,
                              SagaObject object)
Constructs a new AlreadyExistsException 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.