Class AlpacaSseDeserializationException

All Implemented Interfaces:
Serializable

public final class AlpacaSseDeserializationException extends AlpacaSseException
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 Details

    • AlpacaSseDeserializationException

      public AlpacaSseDeserializationException(String message, Throwable cause)
    • AlpacaSseDeserializationException

      public AlpacaSseDeserializationException(String message, Throwable cause, String eventId, String eventType)
  • Method Details

    • eventId

      public String eventId()
      Returns the effective SSE event ID, or null when none was present.
    • eventType

      public String eventType()
      Returns the effective SSE event type, or null when none was available.