Class WebException

    • Constructor Summary

      Constructors 
      Constructor Description
      WebException()
      Constructs a WebException with no detail error code or error message.
      WebException​(int errorCode)
      Deprecated.
      use other constructor instead
      WebException​(int errorCode, java.lang.Exception e)
      Constructs a WebException with the specified error code and the original cause of this exception.
      WebException​(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
      Deprecated.
      use other constructor instead
      WebException​(int code, java.lang.Object[] params, java.util.Locale locale)
      Deprecated.
      use other constructor instead
      WebException​(LocalizableMessage errorMsg)
      Constructs a WebException with the specified error message.
      WebException​(LocalizableMessage errorMsg, java.lang.Throwable e)
      Constructs a WebException with the specified error message, and the original cause of this exception.
      WebException​(java.lang.String errorMsg)
      Constructs a WebException with the specified error message.
      WebException​(java.lang.String errorMsg, int errorCode)
      Constructs a WebException with the specified error code and error message.
      WebException​(java.lang.String errorMsg, int errorCode, java.lang.Exception e)
      Constructs a WebException with the specified error code error message, and the original cause of this exception.
      WebException​(java.lang.String errorMsg, java.lang.Exception e)
      Constructs a WebException with the specified error message and the original cause of this exception.
      WebException​(java.lang.Throwable e)
      Constructs a WebException with the specified cause of this exception.
    • Constructor Detail

      • WebException

        public WebException​(LocalizableMessage errorMsg)
        Constructs a WebException with the specified error message.
        Parameters:
        errorMsg - the detail message
        Since:
        MicroStrategy Web 8.0.0
      • WebException

        public WebException​(LocalizableMessage errorMsg,
                            java.lang.Throwable e)
        Constructs a WebException with the specified error message, and the original cause of this exception.
        Parameters:
        e - the original cause of this exception
        errorMsg - the detail message
        Since:
        MicroStrategy Web 8.0.0
      • WebException

        public WebException​(int code,
                            java.lang.Object[] params,
                            java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructs a WebException with the specified error code, message parameters and locale.
        Parameters:
        code - a detail code
        params - the error message parameters to substitute
        locale - the Locale to localize the error message
        Since:
        MicroStrategy Web 8.0.0
      • WebException

        public WebException​(int code,
                            java.lang.Object[] params,
                            java.lang.Throwable e,
                            java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructs a WebException with the specified error code, message parameters and locale.
        Parameters:
        code - a detail code
        params - the error message parameters to substitute
        e - the original cause of this exception
        locale - the Locale to localize the error message
        Since:
        MicroStrategy Web 8.0.0
      • WebException

        public WebException()
        Constructs a WebException with no detail error code or error message.
      • WebException

        public WebException​(int errorCode)
        Deprecated.
        use other constructor instead
        Constructs a WebException with the specified error code.
        Parameters:
        errorCode - a detail code
      • WebException

        public WebException​(java.lang.String errorMsg)
        Constructs a WebException with the specified error message.
        Parameters:
        errorMsg - the detail message
      • WebException

        public WebException​(java.lang.Throwable e)
        Constructs a WebException with the specified cause of this exception.
        Parameters:
        e - the original cause of this exception
      • WebException

        public WebException​(java.lang.String errorMsg,
                            int errorCode)
        Constructs a WebException with the specified error code and error message.
        Parameters:
        errorCode - a detail code
        errorMsg - the detail message
      • WebException

        public WebException​(java.lang.String errorMsg,
                            java.lang.Exception e)
        Constructs a WebException with the specified error message and the original cause of this exception.
        Parameters:
        e - the original cause of this exception
        errorMsg - the detail message
      • WebException

        public WebException​(int errorCode,
                            java.lang.Exception e)
        Constructs a WebException with the specified error code and the original cause of this exception.
        Parameters:
        e - the original cause of this exception
        errorCode - a detail code
      • WebException

        public WebException​(java.lang.String errorMsg,
                            int errorCode,
                            java.lang.Exception e)
        Constructs a WebException with the specified error code error message, and the original cause of this exception.
        Parameters:
        e - the original cause of this exception
        errorCode - a detail code
        errorMsg - the detail message