-
public final class CallCompositeErrorEvent
Event 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 Throwable
getCause()
Returns the cause of this throwable or {@code null}
if thecause is nonexistent or unknown.CallCompositeErrorCode
getErrorCode()
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.
-
-
-
-