Package com.microstrategy.web.objects
Class WebFailedServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstrategy.utils.MSTRCheckedException
-
- com.microstrategy.web.objects.WebFailedServerException
-
- All Implemented Interfaces:
LocalizableException,java.io.Serializable
public class WebFailedServerException extends MSTRCheckedException
The class WebFailedServerException is a subclass ofMSTRCheckedException. This is an exception class for errors involving multiple server failures within a cluster. This class extends theMSTRCheckedExceptionby providing a method to return aSimpleListofWebFailedServerobjects and a method to parse an xml string and create a collection of WebFailedServers- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.MSTRCheckedException
MSTRCheckedException.ExceptionXMLHandler
-
-
Constructor Summary
Constructors Constructor Description WebFailedServerException()Default constructor that will create an emptyWebFailedServerExceptionWebFailedServerException(LocalizableMessage errorMsg)WebFailedServerException(LocalizableMessage errorMsg, java.lang.Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleListgetFailedServers()Retrieve the list ofWebFailedServerobjects associated with this exceptionvoidpopulate(java.lang.String xml)Populate the list ofWebFailedServerobjects from the provided XML-
Methods inherited from class com.microstrategy.utils.MSTRCheckedException
getAuditInfo, getCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getMessage, getRootCause, getRootCause, setAuditInfo, setCause, setDefaultLocale, setXMLHandler
-
-
-
-
Constructor Detail
-
WebFailedServerException
public WebFailedServerException(LocalizableMessage errorMsg)
- Parameters:
errorMsg-LocalizableMessageused to notify the user of what error has occurred
-
WebFailedServerException
public WebFailedServerException(LocalizableMessage errorMsg, java.lang.Throwable e)
- Parameters:
errorMsg-LocalizableMessageused to notify the user of what error has occurrede-Throwablethat this object will wrap
-
WebFailedServerException
public WebFailedServerException()
Default constructor that will create an emptyWebFailedServerException
-
-
Method Detail
-
getFailedServers
public SimpleList getFailedServers()
Retrieve the list ofWebFailedServerobjects associated with this exception- Returns:
SimpleListofWebFailedServerobjects
-
populate
public void populate(java.lang.String xml) throws WebObjectsExceptionPopulate the list ofWebFailedServerobjects from the provided XML- Parameters:
xml-Stringcontaining XML for failed servers- Throws:
WebObjectsException- if parsing XML fails
-
-