public static enum IOlapServiceException.Reason extends Enum<IOlapServiceException.Reason>
Enum Constant and Description |
---|
ACCESS_DENIED
The operation could not be completed because of the security
restrictions in effect for the user session passed as a parameter.
|
ALREADY_EXISTS
A connection of the same name already exists and the overwrite flag
was not used.
|
GENERAL
An error occurred.
|
Modifier and Type | Method and Description |
---|---|
static IOlapServiceException.Reason |
convert(Throwable t) |
static IOlapServiceException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOlapServiceException.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOlapServiceException.Reason GENERAL
public static final IOlapServiceException.Reason ACCESS_DENIED
public static final IOlapServiceException.Reason ALREADY_EXISTS
public static IOlapServiceException.Reason[] values()
for (IOlapServiceException.Reason c : IOlapServiceException.Reason.values()) System.out.println(c);
public static IOlapServiceException.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static IOlapServiceException.Reason convert(Throwable t)
Copyright © 2017 Hitachi Vantara. All rights reserved.