public static class

ErrorInfo.ErrorMessage

extends AbstractConfigurationElement
java.lang.Object
   ↳ com.microstrategy.utils.config.AbstractConfigurationElement
     ↳ com.microstrategy.web.app.ErrorInfo.ErrorMessage

Class Overview

Defines the message to be displayed in the error alert box. Each message element represents a single descriptor. The message displayed to the user is the one resulting from concatenating the descriptors of all the message child elements of an error node.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.utils.config.AbstractConfigurationElement
Public Constructors
ErrorInfo.ErrorMessage()
Public Methods
String getDescriptor()
Returns the descriptor that the application should use to display the error message if the desc-id attribute is missing.
String getDescriptorId()
Returns the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.
String getXmlMergeId()
Returns the XML_MergeId, a unique identifier for this message.
void setDescriptor(String value)
Sets the descriptor that the application should use to display the error message if the desc-id attribute is missing.
void setDescriptorId(String value)
Sets the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.
void setXmlMergeId(String xmlMergeId)
Sets the XML_MergeId, a unique identifier for this message.
Protected Methods
String getKeyAttribute()
This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.
[Expand]
Inherited Methods
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.ConfigurationFile

Public Constructors

public ErrorInfo.ErrorMessage ()

Public Methods

public String getDescriptor ()

Returns the descriptor that the application should use to display the error message if the desc-id attribute is missing.

public String getDescriptorId ()

Returns the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.

public String getXmlMergeId ()

Returns the XML_MergeId, a unique identifier for this message.

public void setDescriptor (String value)

Sets the descriptor that the application should use to display the error message if the desc-id attribute is missing.

public void setDescriptorId (String value)

Sets the Resource Bundle item id that the application should use to display the error message in the language of the user's locale.

public void setXmlMergeId (String xmlMergeId)

Sets the XML_MergeId, a unique identifier for this message.

Protected Methods

protected String getKeyAttribute ()

This method must return the attribute that uniquely identifies this element among its siblings; if no single attribute can be used, return null and override the getKey and setKey methods.