public class NFEIOException
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
static int |
CATALOG_ALREADY_EXISTS
Catalog already exists error code.
|
static int |
DUPLICATE_LAYER
Duplicate layer error code.
|
static int |
GENERAL_ERROR
General error code.
|
static int |
INVALID_COLUMN_NAME
Invalid column name error code.
|
static int |
INVALID_SQL_NAME
Invalid SQL Name error code.
|
static int |
TABLE_ALREADY_EXISTS
Table already exists error code.
|
static int |
WRONG_TABLE_NAME
Wrong table name error code.
|
static int |
WS_ALREADY_EXISTS
Workspace already exists error code.
|
static int |
WS_NOT_LEAF
Not leaf workspace error code.
|
Constructor and Description |
---|
NFEIOException() |
NFEIOException(java.lang.String message) |
NFEIOException(java.lang.String message, int errorCode) |
NFEIOException(java.lang.String message, java.lang.Throwable throwable) |
NFEIOException(java.lang.Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Returns the error code.
|
java.lang.String |
getErrorMsg()
Returns the error message.
|
void |
setErrorCode(int errorCode)
Sets the error code.
|
void |
setErrorMsg(java.lang.String errorMsg)
Sets the error message.
|
public static int GENERAL_ERROR
public static int DUPLICATE_LAYER
public static int TABLE_ALREADY_EXISTS
public static int WRONG_TABLE_NAME
public static int WS_ALREADY_EXISTS
public static int CATALOG_ALREADY_EXISTS
public static int WS_NOT_LEAF
public static int INVALID_COLUMN_NAME
public static int INVALID_SQL_NAME
public NFEIOException()
public NFEIOException(java.lang.String message)
public NFEIOException(java.lang.Throwable throwable)
public NFEIOException(java.lang.String message, java.lang.Throwable throwable)
public NFEIOException(java.lang.String message, int errorCode)
public int getErrorCode()
public void setErrorCode(int errorCode)
errorCode
- error codepublic java.lang.String getErrorMsg()
public void setErrorMsg(java.lang.String errorMsg)
errorMsg
- error message