SquirrelJME/SquirrelJME

View on GitHub
modules/cldc-compact/src/main/java/java/util/NoSuchElementException.java

Summary

Maintainability
A
0 mins
Test Coverage
// -*- 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.util;

import cc.squirreljme.runtime.cldc.annotation.Api;

/**
 * This is thrown when no element exists, usually from an {@link Iterator}.
 *
 * @since 2018/10/29
 */
@Api
public class NoSuchElementException
    extends RuntimeException
{
    /**
     * Initializes the exception with no message or cause.
     *
     * @since 2018/10/29
     */
    @Api
    public NoSuchElementException()
    {
    }
    
    /**
     * Initializes the exception with the given message and no cause.
     *
     * @param __m The message.
     * @since 2018/10/29
     */
    @Api
    public NoSuchElementException(String __m)
    {
        super(__m);
    }
}