Class IOlapServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.pentaho.platform.plugin.action.olap.IOlapServiceException
- All Implemented Interfaces:
Serializable
Thrown by the
IOlapService
when something made a boo-boo.
See IOlapServiceException.Reason
for category of the failure. In general:
IOlapServiceException.Reason.GENERAL
will happen when there is an issue with one of the connections, like bad credentials. See the root cause of the exception for details.IOlapServiceException.Reason.ACCESS_DENIED
when the repository's access rights do not allow the provided session to perform the requested operation.IOlapServiceException.Reason.ALREADY_EXISTS
when a connection was tentatively saved but one of the same name already exists and the overwrite flag isn't on.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Possible causes of an exception in the IOlapService. -
Constructor Summary
ConstructorDescriptionIOlapServiceException
(String msg, Throwable throwable) IOlapServiceException
(String msg, Throwable throwable, IOlapServiceException.Reason reason) IOlapServiceException
(String msg, IOlapServiceException.Reason reason) IOlapServiceException
(Throwable throwable) IOlapServiceException
(Throwable throwable, IOlapServiceException.Reason reason) -
Method Summary
Modifier and TypeMethodDescriptionProvides the rough category of the exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IOlapServiceException
public IOlapServiceException() -
IOlapServiceException
-
IOlapServiceException
-
IOlapServiceException
-
IOlapServiceException
-
IOlapServiceException
-
IOlapServiceException
-
-
Method Details
-
getReason
Provides the rough category of the exception.IOlapServiceException.Reason
for more details.
-