diff options
Diffstat (limited to 'examples/cxx/hybrid/binary/custom/exceptions.cxx')
-rw-r--r-- | examples/cxx/hybrid/binary/custom/exceptions.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/cxx/hybrid/binary/custom/exceptions.cxx b/examples/cxx/hybrid/binary/custom/exceptions.cxx new file mode 100644 index 0000000..0ad8c4b --- /dev/null +++ b/examples/cxx/hybrid/binary/custom/exceptions.cxx @@ -0,0 +1,11 @@ +// file : examples/cxx/hybrid/binary/custom/exceptions.cxx +// author : Boris Kolpackov <boris@codesynthesis.com> +// copyright : not copyrighted - public domain + +#include "exceptions.hxx" + +const char* raw_exception:: +what () const throw () +{ + return "RAW stream operation failed"; +} |