Class UnspecifiedParameterException

  • All Implemented Interfaces:
    java.io.Serializable

    public class UnspecifiedParameterException
    extends java.lang.RuntimeException
    An exception thrown when an argument that requires a conversion (e.g., an integer) has no associated value, but it is retrieved by means of a type-specified method (e.g., JSAPResult.getInt(String)).
    Author:
    Sebastiano Vigna
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getID()
      Returns the unique ID of the parameter whose retrieval was attempted.
      • 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

      • UnspecifiedParameterException

        public UnspecifiedParameterException​(java.lang.String paramID)
        Creates a new UnspecifiedParameterException referencing the specified parameter.
        Parameters:
        paramID - the unique ID of the parameter whose retrieval was attempted.
    • Method Detail

      • getID

        public java.lang.String getID()
        Returns the unique ID of the parameter whose retrieval was attempted.
        Returns:
        the unique ID of the parameter whose retrieval was attempted.