Skip navigation links


oracle.iam.exception
Class OIMServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.iam.exception.OIMServiceException

All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AccountNotFoundException, ApplicationInstanceNotFoundException, ApprovalPolicyServiceException, ApprovalServiceException, AuthorizationFailedException, BulkBeneficiariesAddException, BulkBeneficiariesRemoveException, BulkEntitiesAddException, BulkEntitiesRemoveException, BulkException, BulkProvisioningException, DuplicateApplicationInstanceException, DuplicateApplicationInstanceNameException, DuplicateEntitlementException, EntitlementAlreadyProvisionedException, EntitlementInstanceNotFoundException, EntitlementNotFoundException, EntitlementNotProvisionedException, EntityNotRequestedException, FormFieldNotFoundException, FormNotFoundException, GenericAppInstanceServiceException, GenericEntitlementServiceException, GenericProvisioningConfigException, GenericProvisioningException, ImproperAccountStateException, InvalidBeneficiaryTypeException, InvalidRequestDataException, InvalidRequestException, ITResourceNotFoundException, LDAPContainerMappingException, LookupValueNotFoundException, NoBeneficiaryException, NoRequestPermissionException, NoSuchPolicyException, ObjectNotFoundException, RequestAlreadyClosedException, RequestDataSetNotFoundException, RequestPostProcessingFailedException, RequestProfileServiceException, RequestServiceException, oracle.iam.platform.utils.SuperException, UnSupportedOperationException, UserNotFoundException, UserPolicyEvalLifecycleMgmtException

public class OIMServiceException
extends java.lang.Exception
See Also:
Serialized Form

Constructor Summary
OIMServiceException()
           
OIMServiceException(java.lang.Exception e)
           
OIMServiceException(java.lang.String string)
           
OIMServiceException(java.lang.String string, java.lang.Exception cnfe)
           
OIMServiceException(java.lang.String errorCode, java.lang.String errorMessage, java.io.Serializable[] errorData)
           
OIMServiceException(java.lang.String errorCode, java.lang.String errorMessage, java.io.Serializable[] errorData, java.lang.Throwable cnfe)
           
OIMServiceException(java.lang.String string, java.lang.Throwable cnfe)
           

 

Method Summary
 void addError(OIMError error)
           
 void copyErrorInfo(java.lang.Throwable e)
          Method to copy error information from cause by.
 java.lang.String getErrorCode()
          Get error code associated with the exception.
 java.io.Serializable[] getErrorData()
          Gets error data associated with the exception, that can be used for globalization.
 java.lang.String getErrorMessage()
          Get the error message associated with the exception.
 java.util.List getErrors()
          Gets the list of errors associated with exception.
 java.lang.String getLocalizedMessage()
           
 boolean hasMultipleErrors()
          Returns true if exception is associated with multiple errors.
 void setErrorCode(java.lang.String errorCode)
           
 void setErrorData(java.io.Serializable[] errorData)
           
 void setErrorMessage(java.lang.String errorMessage)
           
 void setErrors(java.util.List errors)
           
 java.lang.String toString()
           

 

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

OIMServiceException

public OIMServiceException(java.lang.Exception e)

OIMServiceException

public OIMServiceException(java.lang.String string)

OIMServiceException

public OIMServiceException(java.lang.String string,
                           java.lang.Exception cnfe)

OIMServiceException

public OIMServiceException(java.lang.String string,
                           java.lang.Throwable cnfe)

OIMServiceException

public OIMServiceException(java.lang.String errorCode,
                           java.lang.String errorMessage,
                           java.io.Serializable[] errorData)

OIMServiceException

public OIMServiceException(java.lang.String errorCode,
                           java.lang.String errorMessage,
                           java.io.Serializable[] errorData,
                           java.lang.Throwable cnfe)

OIMServiceException

public OIMServiceException()

Method Detail

setErrorCode

public void setErrorCode(java.lang.String errorCode)

getErrorCode

public java.lang.String getErrorCode()
Get error code associated with the exception.
Returns:
error code associated with the exception.

setErrorData

public void setErrorData(java.io.Serializable[] errorData)

copyErrorInfo

public void copyErrorInfo(java.lang.Throwable e)
Method to copy error information from cause by. This copies the error code, data and localized message
Parameters:
e, - cause by exception

getErrorData

public java.io.Serializable[] getErrorData()
Gets error data associated with the exception, that can be used for globalization.
Returns:
error data associated with the exception as an array.

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Overrides:
getLocalizedMessage in class java.lang.Throwable

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)

getErrorMessage

public java.lang.String getErrorMessage()
Get the error message associated with the exception.
Returns:
error message associated with the exception.

setErrors

public void setErrors(java.util.List errors)

hasMultipleErrors

public boolean hasMultipleErrors()
Returns true if exception is associated with multiple errors.
Returns:
true if exception is associated with multiple errors, false otherwise.

getErrors

public java.util.List getErrors()
Gets the list of errors associated with exception.
Returns:
list of errors associated with exception.

addError

public void addError(OIMError error)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable

Skip navigation links


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