diff --git a/GBase/Exceptions/MissingTableException.cs b/GBase/Exceptions/MissingTableException.cs new file mode 100644 index 0000000..1d6015b --- /dev/null +++ b/GBase/Exceptions/MissingTableException.cs @@ -0,0 +1,28 @@ +// Author: Gockner, Simon +// Created: 2020-09-18 +// Copyright(c) 2020 SimonG. All Rights Reserved. + +using System; + +namespace GBase.Exceptions +{ + /// + /// that the table for the given is missing + /// + public class MissingTableException : Exception + { + /// + /// that the table for the given is missing + /// + public MissingTableException(Type type) + : base($"There is no table for type {type}.") + { + Type = type; + } + + /// + /// The that has no table + /// + public Type Type { get; } + } +} \ No newline at end of file