-
public final class CallCompositeErrorEventEvent with error type and caused throwable.
-
-
Constructor Summary
Constructors Constructor Description CallCompositeErrorEvent(CallCompositeErrorCode code, Throwable cause)Create CallCompositeErrorEvent with error code and caused throwable.
-
Method Summary
Modifier and Type Method Description ThrowablegetCause()Returns the cause of this throwable or {@code null}if thecause is nonexistent or unknown.CallCompositeErrorCodegetErrorCode()Returns the event source. -
-
Constructor Detail
-
CallCompositeErrorEvent
CallCompositeErrorEvent(CallCompositeErrorCode code, Throwable cause)
Create CallCompositeErrorEvent with error code and caused throwable.- Parameters:
code- Error code CallCompositeErrorCode.cause- Throwable that caused an exception.
-
-
Method Detail
-
getCause
Throwable getCause()
Returns the cause of this throwable or
{@code null}if thecause is nonexistent or unknown. (The cause is the throwable thatcaused this throwable to get thrown).
-
getErrorCode
CallCompositeErrorCode getErrorCode()
Returns the event source.
-
-
-
-