|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single | ZMthrow (). A number of details are elided for the sake of clear exposition. 1. ZMthrow(usersException) ZMthrow() is a macro. It expands mainly into a call of ZMthrow_() |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of | ZMthrow_ () is a code indicating whether x is to be a) thrown |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act | ZMthrow_ (x, lineNum, fileName) ZMthrow_() is a global function of the ZMex namespace. This function first pokes the lineNum and fileName information into x |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act and then calls x | handleMe () |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act and then calls x thus initiating x s handling and logging the copy is made as indicated above This code is identical to the code returned by and to invoke that handler s | takeCareOf () method |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act and then calls x thus initiating x s handling and logging the copy is made as indicated above This code is identical to the code returned by and to invoke that handler s passing it the user exception x::The result of | takeCareOf (x) is used to decide whether the exception has been sufficiently handled |
|
if another namely the one associated with the parent class of x s class Finally as documented above and b returns that function s result as its own result this method calls | standardHandling () with arguments giving the exception x together with a throw/ignore flag. takeCareOf() returns the same result given as the result of standardHandling(). 6. standardHandling(x |
|
if another namely the one associated with the parent class of x s class Finally as documented above and b returns that function s result as its own result this method calls flag into the name of the handler being used together with the value of the throw ignore flag Based on filtering it calls the | logMe () function associated with x 's class. Finally |
|
if another namely the one associated with the parent class of x s class Finally as documented above and b returns that function s result as its own result this method calls flag into the name of the handler being used together with the value of the throw ignore flag Based on filtering it calls the and to invoke that logger s | emit () method |
|
if another namely the one associated with the parent class of x s class Finally if it wishes | emit (x) emit() is a member function of ZMexLogger and of logger classes descended from ZMexLogger. This is a forwarding function that a) calls x.logMessage() to obtain the complete formatted text of user exception x |
|
if another namely the one associated with the parent class of x s class Finally if it wishes a passes that text to the and b returns that function s result as its own result x | logMessage () logMessage() is a virtual member function of ZMexception and of exception classes descended from ZMexception. logMessage() is responsible for formatting the complete text of the exception being logged |
|
this formatted text is the function s string result | emit (s) This emit() method is a virtual member function of a ZMexLoggerBehavior class. For most such behavior classes |
|
|
ZMthrow event sequence W E | Brown |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the | usersException |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as | x |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act and then calls x thus initiating x s handling and logging | Next |
|
ZMthrow event sequence W E Dec These notes document the sequence of significant events set into motion by execution of a single passing on the hereinafter known simply as together with the line number and file name from which the macro is invoked It is mandatory that x be of a type derived from class ZMexception::The result of or b ignored as the macro s final act and then calls x thus initiating x s handling and logging the copy is made | Finally |
|
if | not |
|
if another namely the one associated with the parent class of x s class Finally as documented above and b returns that function s result as its own result this method calls flag into the name of the handler being used together with the value of the throw ignore flag Based on filtering | criteria |
|
this formatted text is the function s string result this method sends the formatted string s to the ostream destination specified when the logger was instantiated as its | result |
|
this formatted text is the function s string result this method sends the formatted string s to the ostream destination specified when the logger was instantiated as its a code describing | what |
|
this formatted text is the function s string result this method sends the formatted string s to the ostream destination specified when the logger was instantiated as its a code describing if | any |
|