SYS.ApplicationError
abstract class SYS.ApplicationError
Method Inventory
- DateListClose()
- DateListExecute()
- DateListFetch()
- DeleteByDate()
- DeleteByError()
- DeleteByNamespace()
- ErrorDetailClose()
- ErrorDetailExecute()
- ErrorDetailFetch()
- ErrorListClose()
- ErrorListExecute()
- ErrorListFetch()
- GetComment()
- NamespaceListClose()
- NamespaceListExecute()
- NamespaceListFetch()
- SetComment()
Methods
classmethod DateListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) 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"
Namespace - Namespace to delete errors in
DateList - Comma separated list of dates to delete, "6/4/2012,6/5/2012"
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.
Deletes all application errors for all dates for the namespaces passed in.
The input parameter is a list of namespaces.
classmethod ErrorDetailExecute(ByRef qHandle As %Binary, Namespace As %String, Date As %String, Error As %Integer, Type As %Integer) as %Status
classmethod ErrorDetailFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod ErrorListExecute(ByRef qHandle As %Binary, Namespace As %String, Date As %String) as %Status
classmethod ErrorListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
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
ListType = 0 - All namespaces
1 - Remote namespaces only
2 - Local namespaces only
classmethod NamespaceListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status
classmethod SetComment(Namespace As %String, Date As %String, Error As %Integer = 0, Comment As %String) as %Status
Set a comment into the selected error
Queries
query DateList(Namespace As %String)
Returns the dates when application errors occurred for a given namespace.
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
Selects Error # As %Integer, Error message As %String, Time As %String, Process As %String, DisplayPID As %String, Username As %String, Code line As %String
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).
query NamespaceList(ListType As %Integer)
Selects Namespace As %String
Returns the Namespaces that contain application errors.