Class MaxMessageSizeExceededException

All Implemented Interfaces:
Serializable

public final class MaxMessageSizeExceededException extends SerializationException
A SerializationException indicating that a message exceeded the maximum size allowed for (de)serialization. It is distinct from other SerializationExceptions so that transports can map it to a transport-specific "too large" status (e.g. HTTP 413 Payload Too Large) rather than a generic (de)serialization failure.
See Also:
  • Constructor Details

    • MaxMessageSizeExceededException

      public MaxMessageSizeExceededException(String message)
      New instance.
      Parameters:
      message - for the exception.
    • MaxMessageSizeExceededException

      public MaxMessageSizeExceededException(String message, Throwable cause)
      New instance.
      Parameters:
      message - for the exception.
      cause - for this exception.