Czoko_Smieciarka/Trunk/MonoGameView/DataModels/Exceptions/Exceptions.cs

46 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CzokoŚmieciarka.MonoGameView.DataModels.Exceptions
{
public class WrongPositionException : Exception
{
public WrongPositionException(string message) : base(message)
{
}
public WrongPositionException(string message,Exception innerException) : base(message,innerException)
{
}
}
public class TrashContainerNotFound : Exception
{
public TrashContainerNotFound(string message) : base(message)
{
}
public TrashContainerNotFound(string message, Exception innerException) : base(message, innerException)
{
}
}
public class OutOfGridException : Exception
{
public OutOfGridException()
{
}
public OutOfGridException(string message)
: base(message)
{
}
public OutOfGridException(string message, Exception inner)
: base(message, inner)
{
}
}
}