Class WebBeanException

    • Constructor Detail

      • WebBeanException

        public WebBeanException​(LocalizableMessage errorMsg)
        Constructor.
        Parameters:
        errorMsg - localizable error message.
        Since:
        MicroStrategy Web 8.0.0
      • WebBeanException

        public WebBeanException​(LocalizableMessage errorMsg,
                                java.lang.Throwable e)
        Constructor.
        Parameters:
        errorMsg - localizable error message.
        e - throwable.
        Since:
        MicroStrategy Web 8.0.0
      • WebBeanException

        @Deprecated
        public WebBeanException​(int code,
                                java.lang.Object[] params,
                                java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructor.
        Parameters:
        code - error code.
        params - error message parameterization.
        locale - locale.
        Since:
        MicroStrategy Web 8.0.0
      • WebBeanException

        @Deprecated
        public WebBeanException​(int code,
                                java.lang.Object[] params,
                                java.lang.Throwable e,
                                java.util.Locale locale)
        Deprecated.
        use other constructor instead
        Constructor.
        Parameters:
        code - error code.
        params - error message parameterization.
        locale - locale.
        e - throwable.
        Since:
        MicroStrategy Web 8.0.0
      • WebBeanException

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

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

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

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

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

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

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