public class IOlapServiceException extends RuntimeException
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.Modifier and Type | Class and Description |
---|---|
static class |
IOlapServiceException.Reason
Possible causes of an exception in the IOlapService.
|
Constructor and Description |
---|
IOlapServiceException() |
IOlapServiceException(String msg) |
IOlapServiceException(String msg,
IOlapServiceException.Reason reason) |
IOlapServiceException(String msg,
Throwable throwable) |
IOlapServiceException(String msg,
Throwable throwable,
IOlapServiceException.Reason reason) |
IOlapServiceException(Throwable throwable) |
IOlapServiceException(Throwable throwable,
IOlapServiceException.Reason reason) |
Modifier and Type | Method and Description |
---|---|
IOlapServiceException.Reason |
getReason()
Provides the rough category of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IOlapServiceException()
public IOlapServiceException(String msg, Throwable throwable, IOlapServiceException.Reason reason)
public IOlapServiceException(String msg)
public IOlapServiceException(String msg, IOlapServiceException.Reason reason)
public IOlapServiceException(Throwable throwable)
public IOlapServiceException(Throwable throwable, IOlapServiceException.Reason reason)
public IOlapServiceException.Reason getReason()
IOlapServiceException.Reason
for more details.Copyright © 2021 Hitachi Vantara. All rights reserved.