aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2019-12-14 21:18:22 -0800
committerMike Buland <eichlan@xagasoft.com>2019-12-14 21:18:22 -0800
commit8f9337568befa81e82e97abd4d2d75e3a5c5fbe9 (patch)
treefc278a8ccb441bbef485126f0a75d0b28839f7a1 /src
parentd5098782e5645d39b5e92f150e187e7194ef055a (diff)
downloadlibbu++-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')
-rw-r--r--src/stable/exceptionparse.cpp14
-rw-r--r--src/stable/exceptionparse.h17
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
10namespace 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
12namespace Bu
13{
14 subExceptionDecl( ExceptionParse );
15}
16
17#endif