TechbloxModdingAPI/GamecraftModdingAPI/Commands/CommandExceptions.cs
2020-05-15 17:42:04 -04:00

71 lines
1.3 KiB
C#

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)
{
}
}
}