org.ogf.saga.error
Class BadParameterException

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

public class BadParameterException
extends SagaException

This exception indicates that one or more of the parameters of an operation are ill-formed, invalid, out of bound, or otherwise not usable.

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

BadParameterException

public BadParameterException()
Constructs a BadParameter exception.


BadParameterException

public BadParameterException(String message)
Constructs a BadParameter exception with the specified detail message.

Parameters:
message - the detail message.

BadParameterException

public BadParameterException(Throwable cause)
Constructs a BadParameter exception with the specified cause.

Parameters:
cause - the cause.

BadParameterException

public BadParameterException(String message,
                             Throwable cause)
Constructs a BadParameter exception with the specified detail message and cause.

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

BadParameterException

public BadParameterException(String message,
                             SagaObject object)
Constructs a BadParameter exception with the specified detail message and associated SAGA object.

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

BadParameterException

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

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

BadParameterException

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