The Exception_SubClassName() function returns a string containing the constant for the subclass of the current system exception.
Exception_SubClassName({class, subclass})
• class – An optional long integer containing the value of a system exception class.
• subclass – An optional long integer containing the value of a system exception subclass. If both the class and subclass parameters are supplied, the constant for the specified system exception subclass will be returned.
A string containing an exception subclass constant.
Use the class and subclass parameters with this function when you know the long integer values of a system exception class and subclass, but need a string containing the constant for the system exception subclass.
If you include the class and subclass parameters, you can use this function anywhere in your code. If you don’t include the class and subclass parameters, you can use this function only in a catch or else block of a try...end try statement.