Class SchemaOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.ignite.IgniteCheckedException
-
- org.apache.ignite.internal.processors.query.schema.SchemaOperationException
-
- All Implemented Interfaces:
Serializable
public class SchemaOperationException extends IgniteCheckedException
Schema operation exception.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCODE_CACHE_ALREADY_INDEXEDCode: cache already indexed.static intCODE_CACHE_NOT_FOUNDCode: cache not found.static intCODE_COLUMN_EXISTSCode: column already exists.static intCODE_COLUMN_NOT_FOUNDCode: column not found.static intCODE_GENERICCode: generic error.static intCODE_INDEX_EXISTSCode: index already exists.static intCODE_INDEX_NOT_FOUNDCode: index not found.static intCODE_SCHEMA_NOT_FOUNDCode: schema not found.static intCODE_TABLE_EXISTSCode: table already exists.static intCODE_TABLE_NOT_FOUNDCode: table not found.static intCODE_VIEW_EXISTSCode: view already exists.static intCODE_VIEW_NOT_FOUNDCode: view not found.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcode()StringtoString()-
Methods inherited from class org.apache.ignite.IgniteCheckedException
getCause, hasCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
CODE_GENERIC
public static final int CODE_GENERIC
Code: generic error.- See Also:
- Constant Field Values
-
CODE_CACHE_NOT_FOUND
public static final int CODE_CACHE_NOT_FOUND
Code: cache not found.- See Also:
- Constant Field Values
-
CODE_TABLE_NOT_FOUND
public static final int CODE_TABLE_NOT_FOUND
Code: table not found.- See Also:
- Constant Field Values
-
CODE_TABLE_EXISTS
public static final int CODE_TABLE_EXISTS
Code: table already exists.- See Also:
- Constant Field Values
-
CODE_COLUMN_NOT_FOUND
public static final int CODE_COLUMN_NOT_FOUND
Code: column not found.- See Also:
- Constant Field Values
-
CODE_COLUMN_EXISTS
public static final int CODE_COLUMN_EXISTS
Code: column already exists.- See Also:
- Constant Field Values
-
CODE_INDEX_NOT_FOUND
public static final int CODE_INDEX_NOT_FOUND
Code: index not found.- See Also:
- Constant Field Values
-
CODE_INDEX_EXISTS
public static final int CODE_INDEX_EXISTS
Code: index already exists.- See Also:
- Constant Field Values
-
CODE_CACHE_ALREADY_INDEXED
public static final int CODE_CACHE_ALREADY_INDEXED
Code: cache already indexed.- See Also:
- Constant Field Values
-
CODE_VIEW_NOT_FOUND
public static final int CODE_VIEW_NOT_FOUND
Code: view not found.- See Also:
- Constant Field Values
-
CODE_VIEW_EXISTS
public static final int CODE_VIEW_EXISTS
Code: view already exists.- See Also:
- Constant Field Values
-
CODE_SCHEMA_NOT_FOUND
public static final int CODE_SCHEMA_NOT_FOUND
Code: schema not found.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SchemaOperationException
public SchemaOperationException(int code, String objName)Constructor for specific error type.- Parameters:
code- Code.objName- Object name.
-
SchemaOperationException
public SchemaOperationException(String msg)
Constructor for generic error.- Parameters:
msg- Message.
-
-
Method Detail
-
code
public int code()
- Returns:
- Code.
-
toString
public String toString()
- Overrides:
toStringin classIgniteCheckedException
-
-