Skip to main content

%Exception.PythonException

class %Exception.PythonException extends %Exception.AbstractException, %Library.RegisteredObject

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
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

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab