Package com.imsl
Class IMSLRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.imsl.IMSLRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ChiSquaredTest.NoObservationsException,ChiSquaredTest.NotCDFException,IMSLUnexpectedErrorException,LicenseException
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 Summary
ConstructorsConstructorDescriptionConstructs an IMSLRuntimeException with no detail message.Constructs an IMSLRuntimeException with the specified detail message.IMSLRuntimeException(String packageName, String key, Object[] arguments) Constructs an IMSLRuntimeException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IMSLRuntimeException
public IMSLRuntimeException()Constructs an IMSLRuntimeException with no detail message. A detail message is a String that describes this particular exception. -
IMSLRuntimeException
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
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.
-