JMSLTM Numerical Library 5.0.1

com.imsl
Class IMSLRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.imsl.IMSLRuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ChiSquaredTest.NoObservationsException, ChiSquaredTest.NotCDFException, LicenseManagerException

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:
Serialized Form

Constructor Summary
IMSLRuntimeException()
          Constructs an IMSLRuntimeException with no detail message.
IMSLRuntimeException(String s)
          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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

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.

JMSLTM Numerical Library 5.0.1

Copyright © 1970-2008 Visual Numerics, Inc.
Built July 8 2008.