Class RequestPayloadSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.codingchili.core.context.CoreException
com.codingchili.core.protocol.exception.RequestPayloadSizeException
- All Implemented Interfaces:
CoreExceptionFormat
,Serializable
Throw when a request with too large payload has been received.
- See Also:
- Serialized Form
-
Constructor Summary
-
Method Summary
Methods inherited from class com.codingchili.core.context.CoreException
status
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RequestPayloadSizeException
public RequestPayloadSizeException(int maxRequestBytes)- Parameters:
maxRequestBytes
- the maximum number of bytes.
-