Class VariableSizeException

All Implemented Interfaces:
Serializable

public class VariableSizeException extends InvalidInputException
VariableSizeException is thrown when a variable data-type exceeds storage constraints.
See Also:
  • Constructor Details

    • VariableSizeException

      public VariableSizeException(String msg)
      Constructor. The canForce value is assumed to be false.
      Parameters:
      msg - message text
    • VariableSizeException

      public VariableSizeException(String msg, boolean canForce)
      Constructor.
      Parameters:
      msg - message text
      canForce - if true conveys to the user that the operation may be successful if forced.
  • Method Details

    • canForce

      public boolean canForce()
      Returns true if the operation could be successful if forced.