Package com.microstrategy.web.beans
Interface WebBeanError
- 
- All Known Subinterfaces:
 AttributeRemappingError
- All Known Implementing Classes:
 AppBeanError,AttributeRemappingErrorImpl,WebAppBeanErrorImpl
public interface WebBeanErrorThis interface exposes the necessary methods to retrieve backend error code and error message when any of the Web Beans is interacting with the backend server.Transformimplementor uses this interface to determine whether there is any error occurred when aWebBeanwas collecting its data.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ThrowablegetCause()Return the cause of the error, if there is any available.intgetErrorCode()Returns the error code to the caller.java.lang.StringgetErrorMessage()Return the error message to the caller. 
 - 
 
- 
- 
Method Detail
- 
getErrorCode
int getErrorCode()
Returns the error code to the caller. By default the error code is zero.- Returns:
 - the error code set by the last operation on the bean
 
 
- 
getErrorMessage
java.lang.String getErrorMessage()
Return the error message to the caller.- Returns:
 - the error message set by the last operation on the bean.
 
 
- 
getCause
java.lang.Throwable getCause()
Return the cause of the error, if there is any available.- Returns:
 - the cause of the error, if available. Can be null, if there is no embedded exception available.
 - Since:
 - MicroStrategy Web 7.5.0
 
 
 - 
 
 -