Interface MessageRouter

  • All Known Implementing Classes:
    DefaultMessageRouter

    public interface MessageRouter
    This interface represents the callback for reporting warnings and errors to the system. A MessageRouter object is passed into the various XML parsing classes to convey how errors and warnings are reported.
    Since:
    MicroStrategy Web 8.1.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void error​(java.lang.String msg)
      Indicate that an error has occurred.
      void info​(java.lang.String msg)
      Indicates an informational message.
      void warning​(java.lang.String msg)
      Indicate that a warning has occurred.
    • Method Detail

      • info

        void info​(java.lang.String msg)
        Indicates an informational message.
        Parameters:
        msg - The message associated with this information message.
      • warning

        void warning​(java.lang.String msg)
        Indicate that a warning has occurred.
        Parameters:
        msg - The message associated with the warning.
      • error

        void error​(java.lang.String msg)
        Indicate that an error has occurred.
        Parameters:
        msg - The message associated with the error.