SquirrelJME/SquirrelJME

View on GitHub
modules/cldc-compact/src/main/java/java/lang/ClassCastException.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.lang;

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

/**
 * This is thrown when a class cannot be cast to another class.
 *
 * @since 2018/12/04
 */
@Api
public class ClassCastException
    extends RuntimeException
{
    /**
     * Initializes the exception with no message or cause.
     *
     * @since 2018/12/04
     */
    @Api
    public ClassCastException()
    {
    }
    
    /**
     * Initializes the exception with the given message and no cause.
     *
     * @param __m The message.
     * @since 2018/12/04
     */
    @Api
    public ClassCastException(String __m)
    {
        super(__m);
    }
}