0
|
1 /**
|
|
2 * Copyright: Copyright (c) 2010 Jacob Carlborg.
|
|
3 * Authors: Jacob Carlborg
|
|
4 * Version: Initial created: Jan 30, 2010
|
|
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0)
|
|
6 */
|
|
7 module orange.serialization.SerializationException;
|
|
8
|
|
9 import orange.util.string;
|
|
10
|
|
11 class SerializationException : Exception
|
|
12 {
|
|
13 this (string message)
|
|
14 {
|
|
15 super(message);
|
|
16 }
|
|
17
|
|
18 this (string message, string file, long line)
|
|
19 {
|
|
20 version (Tango)
|
|
21 super(message, file, line);
|
|
22
|
|
23 else
|
|
24 super(message);
|
|
25 }
|
|
26
|
|
27 this (Exception exception)
|
|
28 {
|
|
29 super(exception.msg, exception.file, exception.line, exception.next, exception.info);
|
|
30 }
|
|
31 } |