SquirrelJME/SquirrelJME

View on GitHub
modules/squirrel-quarrel/src/main/java/net/multiphasicapps/squirrelquarrel/util/ReplayIOException.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 a replay has failed to be read or written to.
 *
 * @since 2018/03/19
 */
public class ReplayIOException
    extends RuntimeException
{
    /**
     * Initialize the exception with no message or cause.
     *
     * @since 2018/03/19
     */
    public ReplayIOException()
    {
    }
    
    /**
     * Initialize the exception with a message and no cause.
     *
     * @param __m The message.
     * @since 2018/03/19
     */
    public ReplayIOException(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 ReplayIOException(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 ReplayIOException(Throwable __c)
    {
        super(__c);
    }
}