Mercurial > projects > orange
annotate orange/serialization/archives/ArchiveException.d @ 51:70df72d2299a default tip
Added unit tests for events.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sat, 13 Aug 2011 17:06:35 +0200 |
parents | 78e5fef4bbf2 |
children |
rev | line source |
---|---|
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.archives.ArchiveException; | |
8 | |
9 import orange.serialization.SerializationException; | |
26
78e5fef4bbf2
Third step in refactoring the API. Stating to add unit tests.
Jacob Carlborg <doob@me.com>
parents:
9
diff
changeset
|
10 import orange.core.string; |
0 | 11 |
12 class ArchiveException : SerializationException | |
13 { | |
14 this (string message) | |
15 { | |
16 super(message); | |
17 } | |
18 | |
19 this (string message, string file, long line) | |
20 { | |
21 super(message, file, line); | |
22 } | |
23 | |
9
99c52d46822a
Serialization works now with D2, deserialization still doesn't work
Jacob Carlborg <doob@me.com>
parents:
0
diff
changeset
|
24 this (ExceptionBase exception) |
0 | 25 { |
26 super(exception); | |
27 } | |
28 } |