Package com.imsl

Class IMSLRuntimeException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChiSquaredTest.NoObservationsException, ChiSquaredTest.NotCDFException, IMSLUnexpectedErrorException, LicenseException

public abstract class IMSLRuntimeException extends RuntimeException
Signals that an error has occurred. This is used for programming mistake type of errors. Since IMSLRuntimeException is a subclass of RuntimeException, this exception does not have to be caught.
See Also:
  • Constructor Details

    • IMSLRuntimeException

      public IMSLRuntimeException()
      Constructs an IMSLRuntimeException with no detail message. A detail message is a String that describes this particular exception.
    • IMSLRuntimeException

      public IMSLRuntimeException(String s)
      Constructs an IMSLRuntimeException with the specified detail message. A detail message is a String that describes this particular exception.
      Parameters:
      s - the detail message
    • IMSLRuntimeException

      public IMSLRuntimeException(String packageName, String key, Object[] arguments)
      Constructs an IMSLRuntimeException with the specified detail message. The error message string is in a resource bundle, ErrorMessages.
      Parameters:
      packageName - is the name of the package containing the ErrorMessages resource bundle.
      key - is the key of the error message in the resource bundle.
      arguments - is an array containing arguments used within the error message string.