Package com.microstrategy.web.beans
Class WebBeanException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstrategy.utils.MSTRCheckedException
-
- com.microstrategy.web.beans.WebBeanException
-
- All Implemented Interfaces:
LocalizableException
,java.io.Serializable
- Direct Known Subclasses:
WebBeanScalableException
,WebFilterEditorException
public class WebBeanException extends MSTRCheckedException
Thrown when aWebBean
encounters any error during the processing of its contents. Usually it represents an error in the bean level, excluding errors in the Web Objects API layer.- Since:
- MicroStrategy Web 7.3.1 or earlier
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.MSTRCheckedException
MSTRCheckedException.ExceptionXMLHandler
-
-
Constructor Summary
Constructors Constructor Description WebBeanException()
Constructs aWebBeanException
with no detail error code or error message.WebBeanException(int errorCode)
Deprecated.use other constructor insteadWebBeanException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)
Deprecated.use other constructor insteadWebBeanException(int code, java.lang.Object[] params, java.util.Locale locale)
Deprecated.use other constructor insteadWebBeanException(LocalizableMessage errorMsg)
Constructor.WebBeanException(LocalizableMessage errorMsg, java.lang.Throwable e)
Constructor.WebBeanException(java.lang.String errorMsg)
Constructs aWebBeanException
with the specified error message.WebBeanException(java.lang.String errorMsg, int errorCode)
Constructs aWebBeanException
with the specified error code and error message.WebBeanException(java.lang.String errorMsg, int errorCode, java.lang.Throwable e)
Constructs aWebBeanException
with the specified error code, error message and the exception cause.WebBeanException(java.lang.String errorMsg, java.lang.Throwable e)
Constructs aWebBeanException
with the specified error message and the exception cause.WebBeanException(java.lang.Throwable e)
Constructs aWebBeanException
from the original cause of this exception.
-
Method Summary
-
Methods inherited from class com.microstrategy.utils.MSTRCheckedException
getAuditInfo, getCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getMessage, getRootCause, getRootCause, setAuditInfo, setCause, setDefaultLocale, setXMLHandler
-
-
-
-
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 insteadConstructor.- 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 insteadConstructor.- Parameters:
code
- error code.params
- error message parameterization.locale
- locale.e
- throwable.- Since:
- MicroStrategy Web 8.0.0
-
WebBeanException
public WebBeanException()
Constructs aWebBeanException
with no detail error code or error message.
-
WebBeanException
@Deprecated public WebBeanException(int errorCode)
Deprecated.use other constructor insteadConstructs aWebBeanException
with the specified error code.- Parameters:
errorCode
- the detail code
-
WebBeanException
public WebBeanException(java.lang.String errorMsg)
Constructs aWebBeanException
with the specified error message.- Parameters:
errorMsg
- the detail message
-
WebBeanException
public WebBeanException(java.lang.String errorMsg, int errorCode)
Constructs aWebBeanException
with the specified error code and error message.- Parameters:
errorCode
- the detail codeerrorMsg
- the detail message
-
WebBeanException
public WebBeanException(java.lang.String errorMsg, int errorCode, java.lang.Throwable e)
Constructs aWebBeanException
with the specified error code, error message and the exception cause.- Parameters:
errorCode
- the detail codeerrorMsg
- the detail messagee
- the original cause of this exception
-
WebBeanException
public WebBeanException(java.lang.Throwable e)
Constructs aWebBeanException
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 aWebBeanException
with the specified error message and the exception cause.- Parameters:
errorMsg
- the detail messagee
- the original cause of this exception
-
-