class %Exception.PythonException
extends %Exception.AbstractException
The %Exception.PythonException class provides access to information
about the most recent python error. It is the type of object assigned to
the CATCH variable when a python error occurs inside a TRY block.
Only the System should create an instance of this class.
property ExceptionObject
;
method AsSystemError()
as %String
Convert this exception to a traditional $ZE string
method DisplayString(pLevel As %Integer = 0)
as %String
Return a string that represents the exception
method OnAsSQLMessage()
as %String
Custom conversion of an exception to the SQL %msg string