Class WebObjectsException

  • All Implemented Interfaces:
    LocalizableException, java.io.Serializable

    public final class WebObjectsException
    extends MSTRCheckedException
    The class WebObjectsException is a subclass of java.lang.Exception. This is an exception class for all errors thrown by the WebObjects. This class extends the standard Exception class by providing a method to return an error code associated with the exception.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    See Also:
    Serialized Form
    • Constructor Detail

      • WebObjectsException

        public WebObjectsException​(LocalizableMessage errorMsg)
        Constructor.
        Parameters:
        errorMsg - The error message for this exception.
        Since:
        MicroStrategy Web 8.0.0
      • WebObjectsException

        public WebObjectsException​(LocalizableMessage errorMsg,
                                   java.lang.Throwable e)
        Constructor.
        Parameters:
        errorMsg - The error message for this exception.
        e - The embedded error object.
        Since:
        MicroStrategy Web 8.0.0
      • WebObjectsException

        @Deprecated
        public WebObjectsException​(int code,
                                   java.lang.Object[] params,
                                   java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructor.
        Parameters:
        code - error code.
        locale - The locale to localize this exception.
        params - The parameters required to constructing the error message based on error code.
        Since:
        MicroStrategy Web 8.0.0
      • WebObjectsException

        @Deprecated
        public WebObjectsException​(int code,
                                   java.lang.Object[] params,
                                   java.lang.Throwable e,
                                   java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructor.
        Parameters:
        code - error code.
        locale - The locale to localize this exception.
        params - The parameters required to constructing the error message based on error code.
        e - The embedded error.
        Since:
        MicroStrategy Web 8.0.0
      • WebObjectsException

        public WebObjectsException​(java.lang.Throwable e)