Class GammaException

  • All Implemented Interfaces:
    java.io.Serializable

    class GammaException
    extends java.lang.IllegalArgumentException
    Package private exception class with constants for frequently used messages.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String OUT_OF_RANGE
      Error message for "out of range" condition.
      private static long serialVersionUID
      Serializable version identifier.
    • Constructor Summary

      Constructors 
      Constructor Description
      GammaException​(java.lang.String message, java.lang.Object... formatArguments)
      Create an exception where the message is constructed by applying the format() method from java.lang.String.
    • Method Summary

      • 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
    • Field Detail

      • OUT_OF_RANGE

        static final java.lang.String OUT_OF_RANGE
        Error message for "out of range" condition.
        See Also:
        Constant Field Values
      • serialVersionUID

        private static final long serialVersionUID
        Serializable version identifier.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GammaException

        GammaException​(java.lang.String message,
                       java.lang.Object... formatArguments)
        Create an exception where the message is constructed by applying the format() method from java.lang.String.
        Parameters:
        message - the exception message with replaceable parameters
        formatArguments - the arguments for formatting the message