Class PaloException

All Implemented Interfaces:
IPaloException, Serializable

public final class PaloException extends RuntimeException implements IPaloException
Exception that are caught from OLAP server
See Also:
  • Constructor Details

    • PaloException

      public PaloException(String[] errorStrings)
      build the object
      Parameters:
      errorStrings - olap server response as received from OLAP server
    • PaloException

      @Deprecated public PaloException(String errorString)
      Deprecated.
  • Method Details

    • getCode

      public final String getCode()
      get error code in OLAP server(e.g. 3 for "invalid license")
      Specified by:
      getCode in interface IPaloException
      Returns:
      error code
    • getMessage

      public final String getMessage()
      get the short error message as received from OLAP server
      Specified by:
      getMessage in interface IPaloException
      Overrides:
      getMessage in class Throwable
      Returns:
      short error message
    • getDescription

      public final String getDescription()
      get the long error message as received from OLAP server
      Specified by:
      getDescription in interface IPaloException
      Returns:
      long error message
    • getReason

      public final String getReason()
      get the error reason message as received from OLAP server (Optional)
      Specified by:
      getReason in interface IPaloException
      Returns:
      error reason message if doesn't exist, description is returned.
    • getResult

      public final Object getResult()
      get the result as received from OLAP server (Optional)
      Returns:
      result