Class ErrorInfo.ErrorMessage

  • All Implemented Interfaces:
    ConfigurationElement, ConfigurationFile, java.lang.Cloneable
    Enclosing class:
    ErrorInfo

    public static class ErrorInfo.ErrorMessage
    extends AbstractConfigurationElement
    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.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • ErrorMessage

        public ErrorMessage()
        Since:
        MicroStrategy Web 9.0.0
    • Method Detail

      • getKeyAttribute

        protected java.lang.String getKeyAttribute()
        Description copied from class: AbstractConfigurationElement
        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.
        Specified by:
        getKeyAttribute in class AbstractConfigurationElement
        Since:
        MicroStrategy Web 9.0.0
      • getXmlMergeId

        public java.lang.String getXmlMergeId()
        Returns the XML_MergeId, a unique identifier for this message.
        Since:
        MicroStrategy Web 9.0.0
      • setXmlMergeId

        public void setXmlMergeId​(java.lang.String xmlMergeId)
        Sets the XML_MergeId, a unique identifier for this message.
        Since:
        MicroStrategy Web 9.0.0
      • getDescriptor

        public java.lang.String getDescriptor()
        Returns the descriptor that the application should use to display the error message if the desc-id attribute is missing.
      • setDescriptor

        public void setDescriptor​(java.lang.String value)
        Sets the descriptor that the application should use to display the error message if the desc-id attribute is missing.
        Since:
        MicroStrategy Web 9.0.0
      • getDescriptorId

        public java.lang.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.
      • setDescriptorId

        public void setDescriptorId​(java.lang.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.
        Since:
        MicroStrategy Web 9.0.0