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

public class ContentLengthExceededException extends HttpClientException
Since:
1.0
See Also:
  • Constructor Details

    • ContentLengthExceededException

      public ContentLengthExceededException(long maxLength, long receivedLength)
      Parameters:
      maxLength - The maximum length
      receivedLength - The received length
    • ContentLengthExceededException

      public ContentLengthExceededException(long maxLength)
      Parameters:
      maxLength - The maximum length
    • ContentLengthExceededException

      @Internal public ContentLengthExceededException(String message)
      Constructor with a message, useful for adapting from ContentLengthExceededException.
      Parameters:
      message - The message