Class StreamAbortedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.jsgalactic.axiom.http.StreamAbortedException
All Implemented Interfaces:
Serializable

public final class StreamAbortedException extends IOException
Thrown by a BodyWriter when a streamed response can no longer be written. The reason says why. After this exception the writer stays aborted: every further write throws it again, so swallowing it does not revive the stream.
See Also:
  • Constructor Details

    • StreamAbortedException

      public StreamAbortedException(StreamAbortedException.Reason reason)
      Creates the exception.
      Parameters:
      reason - why the stream was aborted
  • Method Details