Package markets.alpaca.client.sse
Class AlpacaSseDeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
markets.alpaca.client.sse.AlpacaSseException
markets.alpaca.client.sse.AlpacaSseDeserializationException
- All Implemented Interfaces:
Serializable
A complete SSE message could not be converted to its generated event model.
Domain SSE clients report this recoverable per-event failure through AlpacaSseListener.onEventFailure(AlpacaSseDeserializationException).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlpacaSseDeserializationException(String message, Throwable cause) AlpacaSseDeserializationException(String message, Throwable cause, String eventId, String eventType) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlpacaSseDeserializationException
-
AlpacaSseDeserializationException
-
-
Method Details
-
eventId
Returns the effective SSE event ID, ornullwhen none was present. -
eventType
Returns the effective SSE event type, ornullwhen none was available.
-