Package io.getstream.exceptions
Class StreamApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
io.getstream.exceptions.StreamException
io.getstream.exceptions.StreamApiException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
StreamRateLimitException
Thrown when the Stream API returns a 4xx/5xx response. Carries the parsed
APIError
envelope.
Checked subclass of StreamException: existing throws StreamException
declarations continue to compile.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.getstream.exceptions.StreamException
StreamException.ResponseData -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.getstream.exceptions.StreamException
build, build, build, buildMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamApiException
-
-
Method Details
-
getStatusCode
public int getStatusCode() -
getCode
public int getCode() -
getExceptionFields
-
isUnrecoverable
public boolean isUnrecoverable() -
getRawResponseBody
-
getMoreInfo
-
getDetails
-