Skip navigation links


oracle.iam.platform.kernel
Class EventFailedException

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.platform.kernel.EventFailedException

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

public class EventFailedException
extends SuperRuntimeException

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

See Also:
Serialized Form

Constructor Summary
EventFailedException()
          Deprecated. 
EventFailedException(long processId, java.lang.String eventName, java.lang.String message)
          Deprecated. 
EventFailedException(long processId, java.lang.String errCode, java.lang.String errMessage, java.lang.String adlMessage, java.lang.String eventName, java.lang.Throwable cause)
          Constructs a new failed exception
EventFailedException(long processId, java.lang.String eventName, java.lang.String message, java.lang.Throwable cause)
          Deprecated. 
EventFailedException(long processId, java.lang.String eventName, java.lang.Throwable cause)
          Deprecated. 
EventFailedException(java.lang.String message)
          Deprecated. 
EventFailedException(java.lang.String errorCode, java.lang.Object[] errorData, java.lang.Throwable cause)
           
EventFailedException(java.lang.String errCode, java.lang.String errMessage, java.lang.String adlMessage, java.lang.String eventName, java.lang.Throwable cause)
          Constructs a new failed exception
EventFailedException(java.lang.String message, java.lang.Throwable cause)
          Deprecated. 

 

Method Summary
 java.lang.String getAdditionalMessage()
          Gets the additional message
 java.lang.String getEventName()
          Gets the event name.
 long getProcessId()
          Gets the process Id.

 

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

EventFailedException

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

EventFailedException

@Deprecated
public EventFailedException(java.lang.String message)
Deprecated. 
Constructs a new failed exception with the specified detail message.
Parameters:
message - the message

EventFailedException

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

EventFailedException

public EventFailedException(java.lang.String errorCode,
                            java.lang.Object[] errorData,
                            java.lang.Throwable cause)

EventFailedException

@Deprecated
public EventFailedException(long processId,
                                       java.lang.String eventName,
                                       java.lang.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,
                                       java.lang.String eventName,
                                       java.lang.String message,
                                       java.lang.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,
                                       java.lang.String eventName,
                                       java.lang.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(java.lang.String errCode,
                            java.lang.String errMessage,
                            java.lang.String adlMessage,
                            java.lang.String eventName,
                            java.lang.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,
                            java.lang.String errCode,
                            java.lang.String errMessage,
                            java.lang.String adlMessage,
                            java.lang.String eventName,
                            java.lang.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 Detail

getProcessId

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

getEventName

public java.lang.String getEventName()
Gets the event name.
Returns:
the event name

getAdditionalMessage

public java.lang.String getAdditionalMessage()
Gets the additional message
Returns:
the additional message

Skip navigation links


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