Package com.jsgalactic.axiom.http
Class BodyReadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.jsgalactic.axiom.http.BodyReadException
- All Implemented Interfaces:
Serializable
A read from a
BodyReader that could not complete because its request ended early. Callers
that keep reading after one of these get the same reason until the reader is closed.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates a failure with the given reason. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BodyReadException
Creates a failure with the given reason.- Parameters:
reason- why the read stopped
-
-
Method Details
-
reason
Returns the reason.- Returns:
- why the read stopped
-