The following section describes functions which interface with the Legion Exception interface.
extern int CLEGION_CONTINUE_ON_EXCEPTION; /* These variables correspond */ extern int CLEGION_EXIT_ON_EXCEPTION; /* the valid values that can be */ extern int CLEGION_CANCEL_METHODS_ON_EXCEPTION; /* used as flags when enabling */ extern int CLEGION_NO_MESSAGE_ON_EXCEPTION; /* an exception catcher. */
void
Legion_ExceptionCatcherDefaultEnable(int Flag);
Enables a default Legion Exception Handler with user indicated properties
Parameters:
Flag = A value from the valid flags listed above which
indicates what the handler should do when a
Legion exception is caught. Valid values include:
CLEGION_CONTINUE_ON_EXCEPTION CLEGION_EXIT_ON_EXCEPTION CLEGION_CANCEL_METHODS_ON_EXCEPTION CLEGION_NO_MESSAGE_ON_EXCEPTION (Don't do anything)