%Exception.General
donotuse class %Exception.General extends %Exception.AbstractException
Simple exception class that can be throw in user code. You can throw this with code similar to:Throw ##class(%Exception.General).%New(name,numericCode,location,data)
Method Inventory (Including Private)
Methods (Including Private)
private method %OnNew(pName As %String = "", pCode As %String = "", pLocation As %String = "", pData As %String = "", pInnerException As %Exception.AbstractException = $$$NULLOREF) as %Status
private method OnAsStatus() as %Status
Inherited description: Override this method to provide a custom conversion of an exception to a status.