Skip navigation links


oracle.iam.certification.exception
Class InvalidArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by oracle.iam.platform.utils.SuperRuntimeException
                  extended by oracle.iam.certification.exception.InvalidArgumentException

All Implemented Interfaces:
java.io.Serializable, oracle.iam.platform.utils.io.XmlPrintable

public class InvalidArgumentException
extends SuperRuntimeException
implements java.io.Serializable

Exception used when a client invokes an API method with an invalid argument. Since this error is due to a client programming error, sufficient detail should be provided to identify the error, but sanitized for end-user consumption. If more detail is needed, use CertificationEngineException

See Also:
Serialized Form

Constructor Summary
InvalidArgumentException(java.lang.Class entityType, java.lang.Long entityId, java.lang.String certificationName, java.lang.Long certificationId)
          Construct an instance of this exception when the requested entity is not found in the specified certification instance
InvalidArgumentException(java.lang.Class entityType, java.lang.Long entityId, java.lang.String certificationName, java.lang.Long certificationId, java.lang.String taskUid)
          Construct an instance of this exception when the requested entity is not found in the specified certification task
InvalidArgumentException(java.lang.String errorCode, java.lang.String[] errorData)
           

 

Method Summary

 

Methods inherited from class oracle.iam.platform.utils.SuperRuntimeException
addError, convertErrorData, copyErrorInfo, getErrorCode, getErrorData, getErrors, getLocalizedMessage, getLocalizedMessages, getMessages, hasMultipleErrors, setErrorCode, setErrorData, setErrors, toString, xprint, xprint

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

InvalidArgumentException

public InvalidArgumentException(java.lang.String errorCode,
                                java.lang.String[] errorData)

InvalidArgumentException

public InvalidArgumentException(java.lang.Class entityType,
                                java.lang.Long entityId,
                                java.lang.String certificationName,
                                java.lang.Long certificationId)
Construct an instance of this exception when the requested entity is not found in the specified certification instance
Parameters:
entityType - The requested entity type; required
entityId - The requested entity ID; required
certificationName - the specified certification name; required
certificationId - The specified certification Id; required

InvalidArgumentException

public InvalidArgumentException(java.lang.Class entityType,
                                java.lang.Long entityId,
                                java.lang.String certificationName,
                                java.lang.Long certificationId,
                                java.lang.String taskUid)
Construct an instance of this exception when the requested entity is not found in the specified certification task
Parameters:
entityType - The requested entity type; required
entityId - The requested entity ID; required
certificationName - the specified certification name; required
certificationId - The specified certification Id; required
taskUid - The specified taskUid; can be null

Skip navigation links


Copyright © 2015, Oracle and/or its affiliates. All rights reserved.