Package com.jsgalactic.axiom.http
Class MultipartException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jsgalactic.axiom.error.AxiomException
com.jsgalactic.axiom.error.BadRequestException
com.jsgalactic.axiom.http.MultipartException
- All Implemented Interfaces:
Serializable
A multipart body the parser cannot accept: malformed framing or an exceeded explicit limit.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultipartException(String code) Creates a failure with a safe code and no input-derived detail. -
Method Summary
Methods inherited from class com.jsgalactic.axiom.error.AxiomException
code, headers, status, violationsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
MALFORMED
Code of a body whose framing, headers or boundaries are not well formed.- See Also:
-
LIMIT_EXCEEDED
Code of a body that exceeds a part, header, count or total-byte limit.- See Also:
-
-
Constructor Details
-
MultipartException
Creates a failure with a safe code and no input-derived detail.- Parameters:
code-MALFORMEDorLIMIT_EXCEEDED
-