Package oracle.iam.platform.kernel
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 Summary
ConstructorsConstructorDescriptionDeprecated.EventFailedException
(long processId, String eventName, String message) Deprecated.EventFailedException
(long processId, String errCode, String errMessage, String adlMessage, String eventName, Throwable cause) Constructs a new failed exceptionEventFailedException
(long processId, String eventName, String message, Throwable cause) Deprecated.EventFailedException
(long processId, String eventName, Throwable cause) Deprecated.EventFailedException
(String message) Constructs a new failed exception with the specified detail message.EventFailedException
(String errorCode, Object[] errorData, Throwable cause) EventFailedException
(String errCode, String errMessage, String adlMessage, String eventName, Throwable cause) Constructs a new failed exceptionEventFailedException
(String message, Throwable cause) Constructs a new failed exception with the specified detail message and cause. -
Method Summary
Modifier and TypeMethodDescriptionGets the additional messageGets the event name.long
Gets the process Id.Methods inherited from class oracle.iam.platform.kernel.OrchestrationException
getPid, getProcessID, setPid, setProcessID
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
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
EventFailedException
Deprecated.Constructs a new failed exception. -
EventFailedException
Constructs a new failed exception with the specified detail message.- Parameters:
message
- the message
-
EventFailedException
Constructs a new failed exception with the specified detail message and cause.- Parameters:
message
- the messagecause
- the cause
-
EventFailedException
-
EventFailedException
Deprecated.Constructs a new failed exception with process id, event name and the specified detail message.- Parameters:
processId
- the process IdeventName
- the event handler namemessage
- 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 IdeventName
- the event handler namemessage
- the detail messagecause
- the cause
-
EventFailedException
Deprecated.Constructs a new failed exception with process id, event name and the specified cause.- Parameters:
processId
- the process IdeventName
- the event handler namecause
- 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 exceptionerrMessage
- Error message related to this exceptionadlMessage
- If you want to pass any additional details as part of exceptioneventName
- Name of the event that caused the exceptioncause
- 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 occurrederrCode
- Error code associated with this exceptionerrMessage
- Error message related to this exceptionadlMessage
- If you want to pass any additional details as part of exceptioneventName
- Name of the event that caused the exceptioncause
- If this exception thrown because of another exception
-
-
Method Details
-
getProcessId
public long getProcessId()Gets the process Id.- Returns:
- the process Id
-
getEventName
Gets the event name.- Returns:
- the event name
-
getAdditionalMessage
Gets the additional message- Returns:
- the additional message
-