Exception_Name (GNAT Reference Manual) (original) (raw)
Next: File, Previous: Exception_Message, Up: Intrinsic Subprograms [Contents][Index]
8.8 Exception_Name ¶
This intrinsic subprogram is used in the implementation of the library package GNAT.Current_Exception
. The only useful use of the intrinsic import in this case is the one in this unit, so an application program should simply call the functionGNAT.Current_Exception.Exception_Name
to obtain the name of the current exception.