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:
java.io.Serializable
public class ContentLengthExceededException extends HttpClientException
- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ContentLengthExceededException(long maxLength)ContentLengthExceededException(long maxLength, long receivedLength)
-
Method Summary
-
Methods inherited from class io.micronaut.http.client.exceptions.HttpClientException
getMessage, getServiceId, setServiceId
-
-
-
-
Constructor Detail
-
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
-
-