com.ibm.carma
Class IllegalCustomParameterException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.ibm.carma.IllegalCustomParameterException
All Implemented Interfaces:
java.io.Serializable

public class IllegalCustomParameterException
extends java.lang.IllegalArgumentException

Thrown to indicate that a CARMA operation has been passed a custom parameter that does not conform to the conventions described in the RAM custom action configuration. The custom action configuration that is to be used for the method call can be retrieved from the CustomActionAccepter.findActionFor(String) method on of the resource being acted upon.

See Also:
Serialized Form

Field Summary
 java.lang.String COPYRIGHT
           
 
Constructor Summary
IllegalCustomParameterException(CustomParameter param, java.lang.String message)
          Constructs an IllegalCustomParameterException associated with the processing of the given custom parameter and the specified detail message.
IllegalCustomParameterException(ReturnValue returnValue, java.lang.String message)
          Constructs an IllegalCustomParameterException associated with the processing of the given custom return value and the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

IllegalCustomParameterException

public IllegalCustomParameterException(CustomParameter param,
                                       java.lang.String message)
Constructs an IllegalCustomParameterException associated with the processing of the given custom parameter and the specified detail message.

Parameters:
param - parameter that the the illegal value is associated with
message - detailed exception message

IllegalCustomParameterException

public IllegalCustomParameterException(ReturnValue returnValue,
                                       java.lang.String message)
Constructs an IllegalCustomParameterException associated with the processing of the given custom return value and the specified detail message.

Parameters:
returnValue - return value that the the illegal value is associated with
message - detailed exception message