public class

ErrorInfoList

extends AbstractConfigurationElementList
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.utils.config.AbstractConfigurationElementList
       ↳ com.microstrategy.web.app.ErrorInfoList

Class Overview

The ErrorInfoList class lists the errors or special conditions that can occur in the application. The application uses this list to change the title and message of the error, to indicate whether the error is expected by the iframe in the event of an iframe request, or to find the page to which the user is redirected when an error occurs.

Summary

Constants
int ERROR_TYPE_CUSTOM
int ERROR_TYPE_SYSTEM
int ERROR_TYPE_USER
String NODE_ERRORS
[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
Fields
public static AppContext _appContext
public static Preferences _prefs
Public Constructors
ErrorInfoList()
Class constructor.
ErrorInfoList(Node root)
Class constructor.
ErrorInfoList(Document doc)
Class constructor.
Public Methods
ErrorInfo getErrorInfo(int errorCode)
Retrieve the ErrorInfo for the given errorCode
[Expand]
Inherited Methods
From class com.microstrategy.utils.config.AbstractConfigurationElementList
From class com.microstrategy.utils.config.AbstractConfigurationElement
From class java.lang.Object
From interface com.microstrategy.utils.config.ConfigurationElement
From interface com.microstrategy.utils.config.ConfigurationElementList
From interface com.microstrategy.utils.config.ConfigurationFile

Constants

public static final int ERROR_TYPE_CUSTOM

Constant Value: 3 (0x00000003)

public static final int ERROR_TYPE_SYSTEM

Constant Value: 1 (0x00000001)

public static final int ERROR_TYPE_USER

Constant Value: 2 (0x00000002)

public static final String NODE_ERRORS

Constant Value: "errors"

Fields

public static AppContext _appContext

public static Preferences _prefs

Public Constructors

public ErrorInfoList ()

Class constructor. Initializes a new -empty- instance of the ErrorInfoList class.

public ErrorInfoList (Node root)

Class constructor. Initializes a ErrorInfoList instance based on the information included in the XML Node

Parameters
root Node instance representing the shortcut list information.

public ErrorInfoList (Document doc)

Class constructor. Initializes a ErrorInfoList instance based on the information included in the DOM Document

Parameters
doc Document instance representing the shortcut list information.

Public Methods

public ErrorInfo getErrorInfo (int errorCode)

Retrieve the ErrorInfo for the given errorCode

Parameters
errorCode the error code.
Returns
  • the ErrorInfo associated with the given errorCode