-
- All Implemented Interfaces:
-
java.io.Serializable
public final class StreamEndpointException extends IOException
Exception representing an error response from the Stream API.
Typically thrown when a REST endpoint or WebSocket call returns an error status and includes details about the failure in the API error payload.
-
-
Constructor Summary
Constructors Constructor Description StreamEndpointException(String message, StreamEndpointErrorData apiError, Throwable cause)
-
Method Summary
Modifier and Type Method Description final StreamEndpointErrorDatagetApiError()ThrowablegetCause()StringgetMessage()-
Methods inherited from class java.lang.Exception
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
StreamEndpointException
StreamEndpointException(String message, StreamEndpointErrorData apiError, Throwable cause)
-
-
Method Detail
-
getApiError
final StreamEndpointErrorData getApiError()
-
getMessage
String getMessage()
-
-
-
-