The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 88d9f0880626736fe58e90b00fb85f1e7a49c854 Author: Richard Heck <[email protected]> Date: Sun Apr 7 18:11:27 2013 -0400 Add a bunch of comments about the different exceptions. diff --git a/src/support/ExceptionMessage.h b/src/support/ExceptionMessage.h index 347c702..fea2efa 100644 --- a/src/support/ExceptionMessage.h +++ b/src/support/ExceptionMessage.h @@ -22,6 +22,22 @@ namespace lyx { namespace support { +/// LyX support three types of custom exceptions. In order of +/// increasing seriousness, these are: +/// +/// WarningException +/// Intended for unexpected situations that we do not expect +/// to compromise further operation. It has the effect of +/// aborting whatever operation in in process. +/// +/// BufferException +/// Intended for situations that indicate some problem with a +/// Buffer or its related data structures. The Buffer will be +/// closed, in emergency style. +/// +/// ErrorException +/// Intended for situations that indicate a global problem +/// with the program. It will lead to an emergency shutdown. enum ExceptionType { ErrorException, ----------------------------------------------------------------------- Summary of changes: src/support/ExceptionMessage.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
