Interface WebBeanError

  • All Known Subinterfaces:
    AttributeRemappingError
    All Known Implementing Classes:
    AppBeanError, AttributeRemappingErrorImpl, WebAppBeanErrorImpl

    public interface WebBeanError
    This 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.

    Transform implementor uses this interface to determine whether there is any error occurred when a WebBean was collecting its data.

    Since:
    MicroStrategy Web 7.3.1 or earlier
    • 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