java.lang
Class RuntimeException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ArithmeticException, ArrayStoreException, ClassCastException, ConcurrentModificationException, EmptyStackException, IllegalArgumentException, IllegalMonitorStateException, IllegalStateException, IndexOutOfBoundsException, MalformedParameterizedTypeException, MissingResourceException, NegativeArraySizeException, NoSuchElementException, NullPointerException, SecurityException, TypeNotPresentException, UndeclaredThrowableException, UnsupportedOperationException

public class RuntimeException
extends Exception

This class is the superclass of all classes which represent exceptional conditions which occur as a result of the running of the virtual machine.

See Also:
Serialized Form

Constructor Summary
RuntimeException()
          Constructs a new instance of this class with its walkback filled in.
RuntimeException(java.lang.String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
RuntimeException(java.lang.String detailMessage, Throwable throwable)
          Constructs a new instance of this class with its walkback, message and cause filled in.
RuntimeException(Throwable throwable)
          Constructs a new instance of this class with its walkback and cause filled in.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuntimeException

public RuntimeException()
Constructs a new instance of this class with its walkback filled in.


RuntimeException

public RuntimeException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.

Parameters:
detailMessage - String The detail message for the exception.

RuntimeException

public RuntimeException(java.lang.String detailMessage,
                        Throwable throwable)
Constructs a new instance of this class with its walkback, message and cause filled in.

Parameters:
detailMessage - String The detail message for the exception.
throwable - The cause of this Throwable

RuntimeException

public RuntimeException(Throwable throwable)
Constructs a new instance of this class with its walkback and cause filled in.

Parameters:
throwable - The cause of this Throwable