Czoko_Smieciarka/Trunk/Components/CzokoŚmieciarka.DataModels/Exceptions.cs

30 lines
745 B
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.DataModels
{
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)
{
}
}
}