Class SILServiceComponentException

java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.iam.grc.sod.exception.SILServiceComponentException
All Implemented Interfaces:
Serializable, Cloneable

public final class SILServiceComponentException extends Exception implements Cloneable
This exception is raised when there is an issue existing with the way SIL registered service componments work. For various functions, namely, sod analysis, data transformation, data validation and idm callback SIL service component interfaces need to be implemented. These service component implementations are used at runtime, during the SoD analysis functionality gets invoked. If there is any problem during the usage of these service component implementations, issues are raised in the form of SILServiceComponentException.
See Also:
  • Field Details

    • isMessage

      public String isMessage
      The detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.
  • Constructor Details

    • SILServiceComponentException

      public SILServiceComponentException()
      Creates a new tcAPIException object.
    • SILServiceComponentException

      public SILServiceComponentException(String isMessage)
      Constructs a new tcAPIException with the specified detail message.
      Parameters:
      isMessage - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.
    • SILServiceComponentException

      public SILServiceComponentException(String errorCode, String isMessage)
      Constructs a new tcAPIException with the specified error code and detail message.
      Parameters:
      errorCode - the error code
      isMessage - the detailed message. The detailed message is saved for later retrieval by the Throwable.getMessage() method.
    • SILServiceComponentException

      public SILServiceComponentException(String isMessage, Exception ex)
  • Method Details

    • setReturnValue

      public void setReturnValue(Object retval)
      Stores the return value that the API intended to send back when a API exception occurred by the failing of some of the transactions
      Parameters:
      retval - the object that needs to be returned
      Since:
      8.0
    • getReturnValue

      public Object getReturnValue()
      Returns the object that needed to be returned by the API when the API exception occurred.
      Returns:
      an Object that need to be casted depending on the return value of the API that caused the API exception to happen
      Since:
      8.0
    • clone

      public Object clone()
      Creates and returns a copy of this object.The method clone performs a specific cloning operation, if the class of this object does not implement the interface Cloneable, then a CloneNotSupportedException is thrown.
      Returns:
      java.lang.Object
      Throws:
      Error - Error if any of the components cannot be cloned
    • SetErrorCode

      public void SetErrorCode(String code)
      Method to set the Error code on API Exception
      Parameters:
      code - , error code to be set
    • getErrorCode

      public String getErrorCode()
      Returns the error code associated with API exception
      Returns:
      the error code associated with the exception
    • SetMessage

      public void SetMessage(String message)
      Method to set the Error message on API Exception
      Parameters:
      message - , error message to be set
    • getMessage

      public String getMessage()
      Returns the error message associated with API exception
      Overrides:
      getMessage in class Throwable
      Returns:
      the error message associated with the exception