Class StellarTomlTooLargeException

All Implemented Interfaces:
Serializable

public class StellarTomlTooLargeException extends NetworkException
Thrown when the stellar.toml file 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

    • StellarTomlTooLargeException

      public StellarTomlTooLargeException(long maxSize)