parent
69c4b573a5
commit
f1c89018ed
2 changed files with 34 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
// Author: Gockner, Simon |
||||||
|
// Created: 2020-11-13 |
||||||
|
// Copyright(c) 2020 SimonG. All Rights Reserved. |
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace GBase.Exceptions |
||||||
|
{ |
||||||
|
public class InvalidKeyException : Exception |
||||||
|
{ |
||||||
|
public InvalidKeyException(string message) |
||||||
|
: base(message) |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,17 @@ |
|||||||
|
// Author: Gockner, Simon |
||||||
|
// Created: 2020-11-13 |
||||||
|
// Copyright(c) 2020 SimonG. All Rights Reserved. |
||||||
|
|
||||||
|
using System; |
||||||
|
|
||||||
|
namespace GBase.Exceptions |
||||||
|
{ |
||||||
|
public class MissingKeyColumnException<T> : Exception |
||||||
|
{ |
||||||
|
public MissingKeyColumnException() |
||||||
|
: base($"Type {typeof(T)} is missing a key column.") |
||||||
|
{ |
||||||
|
|
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue