diff --git a/Foundation/include/Poco/Exception.h b/Foundation/include/Poco/Exception.h index bb2125957..7bac4448f 100644 --- a/Foundation/include/Poco/Exception.h +++ b/Foundation/include/Poco/Exception.h @@ -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) diff --git a/Foundation/src/Exception.cpp b/Foundation/src/Exception.cpp index 515c198e7..109e4e518 100644 --- a/Foundation/src/Exception.cpp +++ b/Foundation/src/Exception.cpp @@ -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")