Package com.jedox.palojlib.exceptions
Class PaloException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jedox.palojlib.exceptions.PaloException
- All Implemented Interfaces:
IPaloException
,Serializable
Exception that are caught from OLAP server
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPaloException
(String errorString) Deprecated.PaloException
(String[] errorStrings) build the object -
Method Summary
Modifier and TypeMethodDescriptionfinal String
getCode()
get error code in OLAP server(e.g.final String
get the long error message as received from OLAP serverfinal String
get the short error message as received from OLAP serverfinal String
get the error reason message as received from OLAP server (Optional)final Object
get the result as received from OLAP server (Optional)Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PaloException
build the object- Parameters:
errorStrings
- olap server response as received from OLAP server
-
PaloException
Deprecated.
-
-
Method Details
-
getCode
get error code in OLAP server(e.g. 3 for "invalid license")- Specified by:
getCode
in interfaceIPaloException
- Returns:
- error code
-
getMessage
get the short error message as received from OLAP server- Specified by:
getMessage
in interfaceIPaloException
- Overrides:
getMessage
in classThrowable
- Returns:
- short error message
-
getDescription
get the long error message as received from OLAP server- Specified by:
getDescription
in interfaceIPaloException
- Returns:
- long error message
-
getReason
get the error reason message as received from OLAP server (Optional)- Specified by:
getReason
in interfaceIPaloException
- Returns:
- error reason message if doesn't exist, description is returned.
-
getResult
get the result as received from OLAP server (Optional)- Returns:
- result
-