java.lang
Class RuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
Direct Known Subclasses:
ArithmeticException, ArrayStoreException, ClassCastException, CloneNotSupportedException, Error, HashCodeNotOverriddenException, IllegalArgumentException, IllegalArgumentType, IllegalReturnValueType, IllegalStateException, IndexOutOfBoundsException, NegativeArraySizeException, NoSuchElementException, NullPointerException, NumberFormatException, StringIndexOutOfBoundsException, 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.


Constructor Summary
RuntimeException()
          Constructs a new instance of this class with its walkback filled in.
RuntimeException(String detailMessage)
          Constructs a new instance of this class with its walkback and message filled in.
RuntimeException(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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, nullStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println
 

Constructor Detail

RuntimeException

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


RuntimeException

public RuntimeException(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(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