emulators/emulator-base/src/main/java/cc/squirreljme/emulator/vm/VMException.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 cc.squirreljme.emulator.vm;
/**
* Base class for exceptions in the virtual machine.
*
* @since 2018/11/17
*/
public class VMException
extends RuntimeException
{
/**
* Initialize the exception with no message or cause.
*
* @since 2018/11/17
*/
public VMException()
{
}
/**
* Initialize the exception with a message and no cause.
*
* @param __m The message.
* @since 2018/11/17
*/
public VMException(String __m)
{
super(__m);
}
/**
* Initialize the exception with a message and cause.
*
* @param __m The message.
* @param __c The cause.
* @since 2018/11/17
*/
public VMException(String __m, Throwable __c)
{
super(__m, __c);
}
/**
* Initialize the exception with no message and with a cause.
*
* @param __c The cause.
* @since 2018/11/17
*/
public VMException(Throwable __c)
{
super(__c);
}
}