This package provides routines for accessing the most recently raised
exception. This may be useful for certain logging activities. It may
also be useful for mimicing implementation dependent capabilities in
Ada 83 compilers, but see also GNAT.Current_Exceptions for this usage.
Subprograms
Returns the Exception_Occurrence for the most recently raised
exception in the current task. If no exception has been raised
in the current task prior to the call, returns Null_Occurrence.
Similar to the above, but returns an access to the occurrence value.
This value is in a task specific location, and may be validly accessed
as long as no further exception is raised in the calling task.