-
public final class CallCompositeDismissedEvent
Event with caused throwable.
-
-
Field Summary
Fields Modifier and Type Field Description private final Throwable
cause
private final CallCompositeErrorCode
errorCode
-
Constructor Summary
Constructors Constructor Description CallCompositeDismissedEvent()
Create CallCompositeDismissedEvent with error code. CallCompositeDismissedEvent(CallCompositeErrorCode errorCode, Throwable cause)
Create CallCompositeDismissedEvent with error code.
-
Method Summary
Modifier and Type Method Description Throwable
getCause()
If CallComposite dismissed due to an error, returns the Throwable if availableor {@code null}
if there is no error.CallCompositeErrorCode
getErrorCode()
If CallComposite dismissed due to an error, returns the CallCompositeErrorCode or {@code null}
if there is no error.-
-
Constructor Detail
-
CallCompositeDismissedEvent
CallCompositeDismissedEvent()
Create CallCompositeDismissedEvent with error code.
-
CallCompositeDismissedEvent
CallCompositeDismissedEvent(CallCompositeErrorCode errorCode, Throwable cause)
Create CallCompositeDismissedEvent with error code.- Parameters:
errorCode
- error code.cause
- Throwable that caused an exception and CallComposite dismissal.
-
-
Method Detail
-
getCause
Throwable getCause()
If CallComposite dismissed due to an error, returns the Throwable if availableor
{@code null}
if there is no error.
-
getErrorCode
CallCompositeErrorCode getErrorCode()
If CallComposite dismissed due to an error, returns the CallCompositeErrorCode or
{@code null}
if there is no error.
-
-
-
-