SquirrelJME/SquirrelJME

View on GitHub
modules/squirrel-quarrel/src/main/java/net/multiphasicapps/squirrelquarrel/util/ReplayFormatException.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.squirrelquarrel.util;

/**
 * This is thrown when the format of a replay is incorrect.
 *
 * @since 2018/03/19
 */
public class ReplayFormatException
    extends ReplayIOException
{
    /**
     * Initialize the exception with no message or cause.
     *
     * @since 2018/03/19
     */
    public ReplayFormatException()
    {
    }
    
    /**
     * Initialize the exception with a message and no cause.
     *
     * @param __m The message.
     * @since 2018/03/19
     */
    public ReplayFormatException(String __m)
    {
        super(__m);
    }
    
    /**
     * Initialize the exception with a message and cause.
     *
     * @param __m The message.
     * @param __c The cause.
     * @since 2018/03/19
     */
    public ReplayFormatException(String __m, Throwable __c)
    {
        super(__m, __c);
    }
    
    /**
     * Initialize the exception with no message and with a cause.
     *
     * @param __c The cause.
     * @since 2018/03/19
     */
    public ReplayFormatException(Throwable __c)
    {
        super(__c);
    }
}