1 module dcrypt.exceptions;
2
3 @safe
4 public class InvalidKeyException : Exception {
5 pure this(string msg) {
6 super(msg);
7 }
8 }
9
10 @safe
11 public class IllegalArgumentException : Exception {
12 pure this(string msg) {
13 super(msg);
14 }
15 }
16
17 @safe
18 public class InvalidParameterException : Exception {
19 pure this(string msg) {
20 super(msg);
21 }
22 }
23
24 @safe
25 public class InvalidCipherTextException : Exception {
26 pure this(string msg) {
27 super(msg);
28 }
29 }
30
31 @safe
32 public class MaxBytesExceededException : Exception {
33 pure this(string msg) {
34 super(msg);
35 }
36 }