Class EventFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.iam.platform.utils.SuperRuntimeException
oracle.iam.platform.kernel.OrchestrationException
oracle.iam.platform.kernel.EventFailedException
All Implemented Interfaces:
Serializable, oracle.iam.platform.utils.io.XmlPrintable

public class EventFailedException extends oracle.iam.platform.kernel.OrchestrationException
Exception that should be used to notify Kernel of failures that are seen during event handler execution. This exception is serialized and stored as part of the orchestration in OIM DB
Author:
asmaram .
See Also:
  • Constructor Details

    • EventFailedException

      @Deprecated public EventFailedException()
      Deprecated.
      Constructs a new failed exception.
    • EventFailedException

      public EventFailedException(String message)
      Constructs a new failed exception with the specified detail message.
      Parameters:
      message - the message
    • EventFailedException

      public EventFailedException(String message, Throwable cause)
      Constructs a new failed exception with the specified detail message and cause.
      Parameters:
      message - the message
      cause - the cause
    • EventFailedException

      public EventFailedException(String errorCode, Object[] errorData, Throwable cause)
    • EventFailedException

      @Deprecated public EventFailedException(long processId, String eventName, String message)
      Deprecated.
      Constructs a new failed exception with process id, event name and the specified detail message.
      Parameters:
      processId - the process Id
      eventName - the event handler name
      message - the detail message
    • EventFailedException

      @Deprecated public EventFailedException(long processId, String eventName, String message, Throwable cause)
      Deprecated.
      Constructs a new failed exception with process id, event name, the specified detail message and cause.
      Parameters:
      processId - the process Id
      eventName - the event handler name
      message - the detail message
      cause - the cause
    • EventFailedException

      @Deprecated public EventFailedException(long processId, String eventName, Throwable cause)
      Deprecated.
      Constructs a new failed exception with process id, event name and the specified cause.
      Parameters:
      processId - the process Id
      eventName - the event handler name
      cause - the cause
    • EventFailedException

      public EventFailedException(String errCode, String errMessage, String adlMessage, String eventName, Throwable cause)
      Constructs a new failed exception
      Parameters:
      errCode - Error code associated with this exception
      errMessage - Error message related to this exception
      adlMessage - If you want to pass any additional details as part of exception
      eventName - Name of the event that caused the exception
      cause - If this exception thrown because of another exception
    • EventFailedException

      public EventFailedException(long processId, String errCode, String errMessage, String adlMessage, String eventName, Throwable cause)
      Constructs a new failed exception
      Parameters:
      processId - ID of the orchestration process on which this exception occurred
      errCode - Error code associated with this exception
      errMessage - Error message related to this exception
      adlMessage - If you want to pass any additional details as part of exception
      eventName - Name of the event that caused the exception
      cause - If this exception thrown because of another exception
  • Method Details

    • getProcessId

      public long getProcessId()
      Gets the process Id.
      Returns:
      the process Id
    • getEventName

      public String getEventName()
      Gets the event name.
      Returns:
      the event name
    • getAdditionalMessage

      public String getAdditionalMessage()
      Gets the additional message
      Returns:
      the additional message