Class LimitExceededException

All Implemented Interfaces:
Serializable

public class LimitExceededException extends InvalidDataException
exception which indicates that the message limited was exceeded (CloseFrame.TOOBIG)
See Also:
  • Constructor Details

    • LimitExceededException

      public LimitExceededException()
      constructor for a LimitExceededException

      calling LimitExceededException with closecode TOOBIG

    • LimitExceededException

      public LimitExceededException(int limit)
      constructor for a LimitExceededException

      calling InvalidDataException with closecode TOOBIG

      Parameters:
      limit - the allowed size which was not enough
    • LimitExceededException

      public LimitExceededException(String s, int limit)
      constructor for a LimitExceededException

      calling InvalidDataException with closecode TOOBIG

      Parameters:
      s - the detail message.
      limit - the allowed size which was not enough
    • LimitExceededException

      public LimitExceededException(String s)
      constructor for a LimitExceededException

      calling InvalidDataException with closecode TOOBIG

      Parameters:
      s - the detail message.
  • Method Details

    • getLimit

      public int getLimit()
      Get the limit which was hit so this exception was caused
      Returns:
      the limit as int