Skip to main content

%ASQ.Exception

Class %ASQ.Exception Extends %Exception.SQL

Methods

OnAsSQLCODE

Method OnAsSQLCODE() As %Integer [ CodeMode = expression, Private ]

Override this method to provide a custom conversion of an exception to an SQLCODE value

SQLMessageString

Method SQLMessageString(pLevel As %Integer = 0) As %String

This returns a string that represents the SQL %msg string. Users should feel free to modify the format and content in subclasses