diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2019-12-14 21:18:22 -0800 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2019-12-14 21:18:22 -0800 |
| commit | 8f9337568befa81e82e97abd4d2d75e3a5c5fbe9 (patch) | |
| tree | fc278a8ccb441bbef485126f0a75d0b28839f7a1 /src/stable | |
| parent | d5098782e5645d39b5e92f150e187e7194ef055a (diff) | |
| download | libbu++-8f9337568befa81e82e97abd4d2d75e3a5c5fbe9.tar.gz libbu++-8f9337568befa81e82e97abd4d2d75e3a5c5fbe9.tar.bz2 libbu++-8f9337568befa81e82e97abd4d2d75e3a5c5fbe9.tar.xz libbu++-8f9337568befa81e82e97abd4d2d75e3a5c5fbe9.zip | |
Added ExceptionParse.
I would like to move to exceptions carrying encoded parameters. For
example parse could carry source name (filename), line, character, etc.
Diffstat (limited to 'src/stable')
| -rw-r--r-- | src/stable/exceptionparse.cpp | 14 | ||||
| -rw-r--r-- | src/stable/exceptionparse.h | 17 |
2 files changed, 31 insertions, 0 deletions
diff --git a/src/stable/exceptionparse.cpp b/src/stable/exceptionparse.cpp new file mode 100644 index 0000000..98440a4 --- /dev/null +++ b/src/stable/exceptionparse.cpp | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2007-2019 Xagasoft, All rights reserved. | ||
| 3 | * | ||
| 4 | * This file is part of the libbu++ library and is released under the | ||
| 5 | * terms of the license contained in the file LICENSE. | ||
| 6 | */ | ||
| 7 | |||
| 8 | #include "exceptionparse.h" | ||
| 9 | |||
| 10 | namespace Bu | ||
| 11 | { | ||
| 12 | subExceptionDef( ExceptionParse ); | ||
| 13 | } | ||
| 14 | |||
diff --git a/src/stable/exceptionparse.h b/src/stable/exceptionparse.h new file mode 100644 index 0000000..83eddb0 --- /dev/null +++ b/src/stable/exceptionparse.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2007-2019 Xagasoft, All rights reserved. | ||
| 3 | * | ||
| 4 | * This file is part of the libbu++ library and is released under the | ||
| 5 | * terms of the license contained in the file LICENSE. | ||
| 6 | */ | ||
| 7 | #ifndef BU_EXCPTION_PARSE_H | ||
| 8 | #define BU_EXCPTION_PARSE_H | ||
| 9 | |||
| 10 | #include "bu/exceptionbase.h" | ||
| 11 | |||
| 12 | namespace Bu | ||
| 13 | { | ||
| 14 | subExceptionDecl( ExceptionParse ); | ||
| 15 | } | ||
| 16 | |||
| 17 | #endif | ||
