Exception_ClassName()

Examples


The Exception_ClassName() function returns a string containing the constant for the class of the current system exception.

Syntax

Exception_ClassName({class})

Parameters

class – An optional long integer containing the value of a system exception class. If this parameter is supplied, the constant for the specified system exception class will be returned.

Return value

A string containing an exception class constant.

Comments

Use the class parameter with this function when you know the long integer class value of a system exception, but want a string containing the constant for the exception class.

If you include the class parameter, you can use this function anywhere in your code. If you don’t include the class parameter, you can use this function only in a catch or else block of a try...end try statement.


Documentation Feedback