Class ContentLengthExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.http.exceptions.HttpException
io.micronaut.http.client.exceptions.HttpClientException
io.micronaut.http.client.exceptions.ContentLengthExceededException
- All Implemented Interfaces:
Serializable
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorDescriptionContentLengthExceededException
(long maxLength) ContentLengthExceededException
(long maxLength, long receivedLength) -
Method Summary
Methods inherited from class io.micronaut.http.client.exceptions.HttpClientException
getMessage, getServiceId, setServiceId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ContentLengthExceededException
public ContentLengthExceededException(long maxLength, long receivedLength) - Parameters:
maxLength
- The maximum lengthreceivedLength
- The received length
-
ContentLengthExceededException
public ContentLengthExceededException(long maxLength) - Parameters:
maxLength
- The maximum length
-