/* Copyright 1998, 2004 The Apache Software Foundation or its licensors, as applicable
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package java.lang;


/**
 * This class is the superclass of all classes which represent exceptional
 * conditions which occur as a result of the running of the virtual machine.
 */
public class RuntimeException extends Exception {
	
	private static final long serialVersionUID = -7034897190745766939L;

	/**
	 * Constructs a new instance of this class with its walkback filled in.
	 */
	public RuntimeException() {
		super();
	}

	/**
	 * Constructs a new instance of this class with its walkback and message
	 * filled in.
	 * 
	 * @param detailMessage
	 *            String The detail message for the exception.
	 */
	public RuntimeException(String detailMessage) {
		super(detailMessage);
	}

	/**
	 * Constructs a new instance of this class with its walkback, message and
	 * cause filled in.
	 * 
	 * @param detailMessage
	 *            String The detail message for the exception.
	 * @param throwable
	 *            The cause of this Throwable
	 */
	public RuntimeException(String detailMessage, Throwable throwable) {
		super(detailMessage, throwable);
	}

	/**
	 * Constructs a new instance of this class with its walkback and cause
	 * filled in.
	 * 
	 * @param throwable
	 *            The cause of this Throwable
	 */
	public RuntimeException(Throwable throwable) {
		super(throwable);
	}
}
