emulators/springcoat-vm/src/main/java/cc/squirreljme/vm/springcoat/exceptions/SpringNegativeArraySizeException.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 attempt was made to allocate an array of a negative
* size.
*
* @since 2018/09/15
*/
public class SpringNegativeArraySizeException
extends SpringException
implements SpringConvertableThrowable
{
/**
* Initialize the exception with no message or cause.
*
* @since 2018/09/15
*/
public SpringNegativeArraySizeException()
{
}
/**
* Initialize the exception with a message and no cause.
*
* @param __m The message.
* @since 2018/09/15
*/
public SpringNegativeArraySizeException(String __m)
{
super(__m);
}
/**
* Initialize the exception with a message and cause.
*
* @param __m The message.
* @param __c The cause.
* @since 2018/09/15
*/
public SpringNegativeArraySizeException(String __m, Throwable __c)
{
super(__m, __c);
}
/**
* Initialize the exception with no message and with a cause.
*
* @param __c The cause.
* @since 2018/09/15
*/
public SpringNegativeArraySizeException(Throwable __c)
{
super(__c);
}
/**
* {@inheritDoc}
* @since 2018/12/04
*/
@Override
public String targetClass()
{
return "java/lang/NegativeArraySizeException";
}
}