Package com.microstrategy.web.objects
Class WebObjectsException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- com.microstrategy.utils.MSTRCheckedException
 - 
- com.microstrategy.web.objects.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
 
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from class com.microstrategy.utils.MSTRCheckedException
MSTRCheckedException.ExceptionXMLHandler 
 - 
 
- 
Constructor Summary
Constructors Constructor Description WebObjectsException(int code, java.lang.Object[] params, java.lang.Throwable e, java.util.Locale locale)Deprecated.use other constructor insteadWebObjectsException(int code, java.lang.Object[] params, java.util.Locale locale)Deprecated.use other constructor insteadWebObjectsException(LocalizableMessage errorMsg)Constructor.WebObjectsException(LocalizableMessage errorMsg, java.lang.Throwable e)Constructor.WebObjectsException(java.lang.Throwable e) 
- 
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
- 
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 insteadConstructor.- 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 insteadConstructor.- 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)
 
 - 
 
 -