public class SchemaOperationException extends IgniteCheckedException
Modifier and Type | Field and Description |
---|---|
static int |
CODE_CACHE_NOT_FOUND
Code: cache not found.
|
static int |
CODE_COLUMN_EXISTS
Code: column already exists.
|
static int |
CODE_COLUMN_NOT_FOUND
Code: column not found.
|
static int |
CODE_GENERIC
Code: generic error.
|
static int |
CODE_INDEX_EXISTS
Code: index already exists.
|
static int |
CODE_INDEX_NOT_FOUND
Code: index not found.
|
static int |
CODE_TABLE_EXISTS
Code: table already exists.
|
static int |
CODE_TABLE_NOT_FOUND
Code: table not found.
|
Constructor and Description |
---|
SchemaOperationException(int code,
String objName)
Constructor for specific error type.
|
SchemaOperationException(String msg)
Constructor for generic error.
|
SchemaOperationException(String msg,
Throwable cause)
Constructor for generic error.
|
Modifier and Type | Method and Description |
---|---|
int |
code() |
String |
toString() |
getCause, hasCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final int CODE_GENERIC
public static final int CODE_CACHE_NOT_FOUND
public static final int CODE_TABLE_NOT_FOUND
public static final int CODE_TABLE_EXISTS
public static final int CODE_COLUMN_NOT_FOUND
public static final int CODE_COLUMN_EXISTS
public static final int CODE_INDEX_NOT_FOUND
public static final int CODE_INDEX_EXISTS
public SchemaOperationException(int code, String objName)
code
- Code.objName
- Object name.public SchemaOperationException(String msg)
msg
- Message.public int code()
public String toString()
toString
in class IgniteCheckedException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017