Skip to main content

SYS.ApplicationError

Class SYS.ApplicationError [ Abstract ]

Methods

DeleteByDate

ClassMethod DeleteByDate(Namespace As %String, DateList As %String) As %Status

Deletes all application errors for the dates passed in for a given namespace. Parameters:
Namespace - Namespace to delete errors in
DateList - Comma separated list of dates to delete, "6/4/2012,6/5/2012"

DeleteByError

ClassMethod DeleteByError(Nsp As %String, Date As %String, ErrorList As %String) As %Status

Deletes the application errors passed in for a given namespace and a given date. The input parameters are the namespace name, the date and a list of error numbers.

DeleteByNamespace

ClassMethod DeleteByNamespace(NspList As %String) As %Status

Deletes all application errors for all dates for the namespaces passed in. The input parameter is a list of namespaces.

GetComment

ClassMethod GetComment(Namespace As %String, Date As %String, Error As %Integer = 0, ByRef Comment As %String, ByRef CommentDate As %String) As %Status

Read the comment in a selected error

SetComment

ClassMethod SetComment(Namespace As %String, Date As %String, Error As %Integer = 0, Comment As %String) As %Status

Set a comment into the selected error

DateListExecute

ClassMethod DateListExecute(ByRef qHandle As %Binary, Namespace As %String) As %Status

Returns the dates when application errors occurred for a given namespace.

DateListFetch

ClassMethod DateListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ PlaceAfter = DateListExecute ]

DateListClose

ClassMethod DateListClose(ByRef qHandle As %Binary) As %Status [ PlaceAfter = DateListExecute ]

ErrorDetailExecute

ClassMethod ErrorDetailExecute(ByRef qHandle As %Binary, Namespace As %String, Date As %String, Error As %Integer, Type As %Integer) As %Status

Returns the logged Expressions and their corresponding Values (top level) for a given Namespace on a given Date for a particular Error. The Date has to be in display format (e.g. 1/1/09). Type: 0 = Expressions -1 = Stack Levels -2 = Collapsed stack levels i = Variables of Stack Level #i

ErrorDetailFetch

ClassMethod ErrorDetailFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ PlaceAfter = ErrorDetailExecute ]

ErrorDetailClose

ClassMethod ErrorDetailClose(ByRef qHandle As %Binary) As %Status [ PlaceAfter = ErrorDetailExecute ]

ErrorListExecute

ClassMethod ErrorListExecute(ByRef qHandle As %Binary, Namespace As %String, Date As %String) As %Status

Returns the errors logged for a given Namespace on a given Date. The Date has to be in display format (e.g. 1/1/09).

ErrorListFetch

ClassMethod ErrorListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ PlaceAfter = ErrorListExecute ]

ErrorListClose

ClassMethod ErrorListClose(ByRef qHandle As %Binary) As %Status [ PlaceAfter = ErrorListExecute ]

NamespaceListExecute

ClassMethod NamespaceListExecute(ByRef qHandle As %Binary, ListType As %Integer = 0) As %Status

Returns the Namespaces that contain application errors. ListType = 0 - All namespaces 1 - Remote namespaces only 2 - Local namespaces only

NamespaceListFetch

ClassMethod NamespaceListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) As %Status [ PlaceAfter = NamespaceListExecute ]

NamespaceListClose

ClassMethod NamespaceListClose(ByRef qHandle As %Binary) As %Status [ PlaceAfter = NamespaceListExecute ]