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
public class IOlapServiceException extends RuntimeException
Thrown by theIOlapService
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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IOlapServiceException.Reason
Possible causes of an exception in the IOlapService.
-
Constructor Summary
Constructors Constructor Description IOlapServiceException()
IOlapServiceException(String msg)
IOlapServiceException(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOlapServiceException.Reason
getReason()
Provides 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 Detail
-
IOlapServiceException
public IOlapServiceException()
-
IOlapServiceException
public IOlapServiceException(String msg, Throwable throwable, IOlapServiceException.Reason reason)
-
IOlapServiceException
public IOlapServiceException(String msg)
-
IOlapServiceException
public IOlapServiceException(String msg, IOlapServiceException.Reason reason)
-
IOlapServiceException
public IOlapServiceException(Throwable throwable)
-
IOlapServiceException
public IOlapServiceException(Throwable throwable, IOlapServiceException.Reason reason)
-
-
Method Detail
-
getReason
public IOlapServiceException.Reason getReason()
Provides the rough category of the exception.IOlapServiceException.Reason
for more details.
-
-