modules/cldc-compact/src/main/java/java/lang/RuntimeException.java
// -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
// ---------------------------------------------------------------------------
// SquirrelJME
// Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
// ---------------------------------------------------------------------------
// SquirrelJME is under the Mozilla Public License Version 2.0.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------
package java.lang;
import cc.squirreljme.runtime.cldc.annotation.Api;
/**
* This and all of its sub-classes represents exceptions which are unchecked
* by the compiler.
*
* @since 2018/09/16
*/
@Api
public class RuntimeException
extends Exception
{
/**
* Initializes the exception with no message or cause.
*
* @since 2018/09/16
*/
@Api
public RuntimeException()
{
}
/**
* Initializes the exception with the given message and no cause.
*
* @param __m The message.
* @since 2018/09/16
*/
@Api
public RuntimeException(String __m)
{
super(__m);
}
/**
* Initializes the exception with the given message and cause.
*
* @param __m The message.
* @param __t The cause.
* @since 2018/09/16
*/
@Api
public RuntimeException(String __m, Throwable __t)
{
super(__m, __t);
}
/**
* Initializes the exception with the given cause and no message.
*
* @param __t The cause.
* @since 2018/09/16
*/
@Api
public RuntimeException(Throwable __t)
{
super(__t);
}
}