public final class EventingException extends RuntimeException
A runtime exception used to indicate error conditions in the Avaya Breeze Eventing API. Examples of the types of errors that can occur are:
| Constructor and Description |
|---|
EventingException(EventingResultCode result) |
EventingException(EventingResultCode result,
String reason) |
EventingException(EventingResultCode result,
String reason,
Throwable cause) |
EventingException(EventingResultCode result,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Clone Not Supported
|
EventingResultCode |
getReason()
Returns a reason for the exception.
|
String |
getReasonDescription()
Returns a verbose reason for the exception.
|
String |
toString()
Returns a String representation of this object.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic EventingException(EventingResultCode result, String reason)
result - Indicating the error reason.reason - Reason text for exceptionpublic EventingException(EventingResultCode result)
result - Indicating the error reason.public EventingException(EventingResultCode result, String reason, Throwable cause)
result - Indicating the error reason.reason - Reason text for exceptioncause - Throwable the caused the exceptionpublic EventingException(EventingResultCode result, Throwable cause)
result - Indicating the error reason.cause - Throwable the caused the exceptionpublic EventingResultCode getReason()
EventingResultCode value indicating the error reason.public String getReasonDescription()
public String toString()
public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedException - Cloning object is not supportedCopyright © 2021 Avaya. All rights reserved.