Class FederationResponseTooLargeException

All Implemented Interfaces:
Serializable

public class FederationResponseTooLargeException extends NetworkException
Thrown when the federation server response exceeds the maximum allowed size.

This limit prevents denial-of-service attacks where a malicious server could send an infinite stream of data, causing OutOfMemoryError.

See Also:
  • Constructor Details

    • FederationResponseTooLargeException

      public FederationResponseTooLargeException(long maxSize)