Package com.microstrategy.webapi.acm
Class ACMException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microstrategy.utils.MSTRCheckedException
-
- com.microstrategy.webapi.MSTRWebAPIException
-
- com.microstrategy.webapi.acm.ACMException
-
- All Implemented Interfaces:
LocalizableException
,java.io.Serializable
public class ACMException extends MSTRWebAPIException
ACMException extends from MSTRWebAPIException; thus the caller may simply catch MSTRWebAPIException for ease of use.
ACMException primarily exists so that exceptions can be thrown from the "acm" package without having to modify MSTRWebAPIException to have public constructors.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.utils.MSTRCheckedException
MSTRCheckedException.ExceptionXMLHandler
-
-
Constructor Summary
Constructors Constructor Description ACMException(java.lang.String iMessage)
Example:ACMException(java.lang.String iMessage, int iStatus)
Examples:
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ACMException
add(java.lang.String iMessage)
Add prepends the Message to the existing message
Example:-
Methods inherited from class com.microstrategy.webapi.MSTRWebAPIException
canRetry, isRetryable, setIsRetryable, setNoRetry
-
Methods inherited from class com.microstrategy.utils.MSTRCheckedException
getCause, getDefaultLocale, getErrorCode, getLocalizableMessage, getMessage, getMessage, getMessage, getRootCause, getRootCause, setCause, setDefaultLocale, setXMLHandler
-
-
-
-
Method Detail
-
add
public ACMException add(java.lang.String iMessage)
Add prepends the Message to the existing message
Example:lACMException = lACMException.Add("More context");
- Parameters:
iMessage
- the new message to prepend to the old message- Returns:
- a new ACMException object
-
-