Class VariableSizeException

  • All Implemented Interfaces:
    java.io.Serializable

    public class VariableSizeException
    extends InvalidInputException
    VariableSizeException is thrown when a variable data-type exceeds storage constraints.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canForce()
      Returns true if the operation could be successful if forced.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VariableSizeException

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

        public VariableSizeException​(java.lang.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 Detail

      • canForce

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