Merge pull request #909 from mkrivos/develop

Some more runtime exceptions types
This commit is contained in:
Günter Obiltschnig 2015-08-19 09:07:14 +02:00
commit bc5d83cf5f
3 changed files with 16 additions and 0 deletions

3
.gitignore vendored
View File

@ -114,6 +114,9 @@ cmake-build/
# Temporary files #
###################
*.bak
CodeGeneration
RemotingNG
XSD
# openssl binaries #
####################

View File

@ -231,6 +231,12 @@ POCO_DECLARE_EXCEPTION(Foundation_API, PoolOverflowException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, NoPermissionException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, OutOfMemoryException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, DataException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, InterruptedException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, IndexOutOfBoundsException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, UnsupportedOperationException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, EmptyStackException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, StackOverflowException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, ArithmeticException, RuntimeException)
POCO_DECLARE_EXCEPTION(Foundation_API, DataFormatException, DataException)
POCO_DECLARE_EXCEPTION(Foundation_API, SyntaxException, DataException)

View File

@ -155,6 +155,13 @@ POCO_IMPLEMENT_EXCEPTION(NoPermissionException, RuntimeException, "No permission
POCO_IMPLEMENT_EXCEPTION(OutOfMemoryException, RuntimeException, "Out of memory")
POCO_IMPLEMENT_EXCEPTION(DataException, RuntimeException, "Data error")
POCO_IMPLEMENT_EXCEPTION(InterruptedException, RuntimeException, "Interrupted")
POCO_IMPLEMENT_EXCEPTION(IndexOutOfBoundsException, RuntimeException, "Index out of bounds")
POCO_IMPLEMENT_EXCEPTION(UnsupportedOperationException, RuntimeException, "Unsupported operation")
POCO_IMPLEMENT_EXCEPTION(EmptyStackException, RuntimeException, "Empty stack")
POCO_IMPLEMENT_EXCEPTION(StackOverflowException, RuntimeException, "Stack overflow")
POCO_IMPLEMENT_EXCEPTION(ArithmeticException, RuntimeException, "Arithmetic error")
POCO_IMPLEMENT_EXCEPTION(DataFormatException, DataException, "Bad data format")
POCO_IMPLEMENT_EXCEPTION(SyntaxException, DataException, "Syntax error")
POCO_IMPLEMENT_EXCEPTION(CircularReferenceException, DataException, "Circular reference")