SquirrelJME/SquirrelJME

View on GitHub
modules/tool-classfile/src/main/java/net/multiphasicapps/classfile/InvalidClassFormatException.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 net.multiphasicapps.classfile;

/**
 * This is thrown when the format of a class is not valid.
 *
 * @since 2017/09/27
 */
public class InvalidClassFormatException
    extends RuntimeException
{
    /**
     * Initialize the exception with no message or cause.
     *
     * @since 2016/09/27
     */
    public InvalidClassFormatException()
    {
    }
    
    /**
     * Initialize the exception with a message and no cause.
     *
     * @param __m The message.
     * @since 2016/09/27
     */
    public InvalidClassFormatException(String __m)
    {
        super(__m);
    }
    
    /**
     * Initialize the exception with a message and cause.
     *
     * @param __m The message.
     * @param __c The cause.
     * @since 2016/09/27
     */
    public InvalidClassFormatException(String __m, Throwable __c)
    {
        super(__m, __c);
    }
    
    /**
     * Initialize the exception with no message and with a cause.
     *
     * @param __c The cause.
     * @since 2016/09/27
     */
    public InvalidClassFormatException(Throwable __c)
    {
        super(__c);
    }
}