Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.simscomputing
Class IllegalStateException  view IllegalStateException download IllegalStateException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.IllegalStateException
                  extended bycom.simscomputing.IllegalStateException
All Implemented Interfaces:
java.io.Serializable

public class IllegalStateException
extends java.lang.IllegalStateException

Indicates that an error has been detected in the software's design or implementation. Provides the same functionality as java.lang.IllegalStateException except that it also allows an exception to be encapsulated.

Version:
$Revision: 1.1.1.1 $ $Date: 2000/02/21 21:22:33 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Throwable exception
           
 
Fields inherited from class java.lang.IllegalStateException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IllegalStateException(java.lang.String message)
          Indicates that a software bug was found.
IllegalStateException(java.lang.String message, java.lang.Throwable exception)
          Use this constructor to include an exception that was the cause of the software fault.
 
Method Summary
 java.lang.Throwable getException()
           
 
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
 

Field Detail

exception

private java.lang.Throwable exception
Constructor Detail

IllegalStateException

public IllegalStateException(java.lang.String message)
Indicates that a software bug was found. The reason for the bug is listed in the specified error message.


IllegalStateException

public IllegalStateException(java.lang.String message,
                             java.lang.Throwable exception)
Use this constructor to include an exception that was the cause of the software fault.

Method Detail

getException

public java.lang.Throwable getException()