%Exception.PythonException
class %Exception.PythonException extends %Exception.AbstractException, %Library.RegisteredObject [ Final ]
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 Inventory
Method Inventory
Properties
property ExceptionObject;
Property methods: ExceptionObjectDisplayToLogical(), ExceptionObjectGet(), ExceptionObjectIsValid(), ExceptionObjectLogicalToDisplay(), ExceptionObjectLogicalToOdbc(), ExceptionObjectNormalize(), ExceptionObjectSet()
Methods
method AsSystemError() as %String
Convert this exception to a traditional $ZE string
Return a string that represents the exception
method OnAsSQLMessage() as %String
Custom conversion of an exception to the SQL %msg string
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- AsSQLCODE()
- AsSQLMessage()
- AsStatus()
- Log()
- OutputToDevice()
- OutputToStream()
- SQLMessageString()
- StackAsArray()