parent
8299f48eb3
commit
488fad44a1
1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
||||
// Author: Gockner, Simon |
||||
// Created: 2020-09-18 |
||||
// Copyright(c) 2020 SimonG. All Rights Reserved. |
||||
|
||||
using System; |
||||
|
||||
namespace GBase.Exceptions |
||||
{ |
||||
/// <summary> |
||||
/// <see cref="Exception"/> that the table for the given <see cref="Type"/> is missing |
||||
/// </summary> |
||||
public class MissingTableException : Exception |
||||
{ |
||||
/// <summary> |
||||
/// <see cref="Exception"/> that the table for the given <see cref="Type"/> is missing |
||||
/// </summary> |
||||
public MissingTableException(Type type) |
||||
: base($"There is no table for type {type}.") |
||||
{ |
||||
Type = type; |
||||
} |
||||
|
||||
/// <summary> |
||||
/// The <see cref="Type"/> that has no table |
||||
/// </summary> |
||||
public Type Type { get; } |
||||
} |
||||
} |
||||
Loading…
Reference in new issue