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

46 lines
1.1 KiB
C#
Raw Normal View History

2019-03-13 16:55:34 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CzokoŚmieciarka.MonoGameView.DataModels.Exceptions
2019-03-13 16:55:34 +01:00
{
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)
{
}
}
2019-03-13 16:55:34 +01:00
}