modules/cldc-compact/src/main/java/java/lang/NegativeArraySizeException.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 is thrown when an attempt is made to allocate an array that is of a
* negative size.
*
* @since 2018/09/22
*/
@Api
public class NegativeArraySizeException
extends RuntimeException
{
/**
* Initializes the exception with no message or cause.
*
* @since 2018/09/22
*/
@Api
public NegativeArraySizeException()
{
}
/**
* Initializes the exception with the given message and no cause.
*
* @param __m The message.
* @since 2018/09/22
*/
@Api
public NegativeArraySizeException(String __m)
{
super(__m);
}
}