emulators/springcoat-vm/src/main/java/cc/squirreljme/vm/springcoat/exceptions/SpringArrayIndexOutOfBoundsException.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.vm.springcoat.exceptions;
import cc.squirreljme.vm.springcoat.SpringConvertableThrowable;
import cc.squirreljme.vm.springcoat.SpringException;
/**
* This is thrown when an invalid out of bounds index was accessed in an
* array.
*
* @since 2018/09/16
*/
public class SpringArrayIndexOutOfBoundsException
extends SpringException
implements SpringConvertableThrowable
{
/**
* Initialize the exception with no message or cause.
*
* @since 2018/09/16
*/
public SpringArrayIndexOutOfBoundsException()
{
}
/**
* Initialize the exception with a message and no cause.
*
* @param __m The message.
* @since 2018/09/16
*/
public SpringArrayIndexOutOfBoundsException(String __m)
{
super(__m);
}
/**
* Initialize the exception with a message and cause.
*
* @param __m The message.
* @param __c The cause.
* @since 2018/09/16
*/
public SpringArrayIndexOutOfBoundsException(String __m, Throwable __c)
{
super(__m, __c);
}
/**
* Initialize the exception with no message and with a cause.
*
* @param __c The cause.
* @since 2018/09/16
*/
public SpringArrayIndexOutOfBoundsException(Throwable __c)
{
super(__c);
}
/**
* {@inheritDoc}
* @since 2018/12/04
*/
@Override
public String targetClass()
{
return "java/lang/ArrayIndexOutOfBoundsException";
}
}