2019-03-13 16:55:34 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2019-04-22 09:24:16 +02:00
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-04-22 09:24:16 +02:00
|
|
|
|
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
|
|
|
|
}
|