using System;
namespace MLAPI.Exceptions
{
///
/// Exception thrown when an object is not yet spawned
///
public class SpawnStateException : Exception
{
///
/// Constructs a SpawnStateException
///
public SpawnStateException() { }
///
/// Constructs a SpawnStateException with a message
///
/// The exception message
public SpawnStateException(string message) : base(message) { }
///
/// Constructs a SpawnStateException with a message and a inner exception
///
/// The exception message
/// The inner exception
public SpawnStateException(string message, Exception inner) : base(message, inner) { }
}
public class InvalidChannelException : Exception
{
public InvalidChannelException(string message) : base(message) { }
}
}