TechbloxModdingAPI/GamecraftModdingAPI/Commands/CommandExceptions.cs

72 lines
1.3 KiB
C#
Raw Normal View History

using System;
namespace GamecraftModdingAPI.Commands
{
public class CommandException : GamecraftModdingAPIException
{
public CommandException() : base() {}
public CommandException(string msg) : base(msg) {}
public CommandException(string msg, Exception innerException) : base(msg, innerException) {}
}
public class CommandNotFoundException : CommandException
{
public CommandNotFoundException()
{
}
public CommandNotFoundException(string msg) : base(msg)
{
}
}
public class CommandAlreadyExistsException : CommandException
{
public CommandAlreadyExistsException()
{
}
public CommandAlreadyExistsException(string msg) : base(msg)
{
}
}
public class CommandRuntimeException : CommandException
{
public CommandRuntimeException()
{
}
public CommandRuntimeException(string msg) : base(msg)
{
}
public CommandRuntimeException(string msg, Exception innerException) : base(msg, innerException)
{
}
}
public class CommandAlreadyBuiltException : CommandException
{
public CommandAlreadyBuiltException()
{
}
public CommandAlreadyBuiltException(string msg) : base(msg)
{
}
}
public class CommandParameterMissingException : CommandException
{
public CommandParameterMissingException()
{
}
public CommandParameterMissingException(string msg) : base(msg)
{
}
}
}