Package oracle.spatial.network.nfe.io
Class NFEIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- oracle.spatial.network.nfe.io.NFEIOException
-
- All Implemented Interfaces:
java.io.Serializable
public class NFEIOException extends java.lang.ExceptionBase exception for NFE.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCATALOG_ALREADY_EXISTSCatalog already exists error code.static intDUPLICATE_LAYERDuplicate layer error code.static intGENERAL_ERRORGeneral error code.static intINVALID_COLUMN_NAMEInvalid column name error code.static intINVALID_SQL_NAMEInvalid SQL Name error code.static intTABLE_ALREADY_EXISTSTable already exists error code.static intWRONG_TABLE_NAMEWrong table name error code.static intWS_ALREADY_EXISTSWorkspace already exists error code.static intWS_NOT_LEAFNot leaf workspace error code.
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Returns the error code.java.lang.StringgetErrorMsg()Returns the error message.voidsetErrorCode(int errorCode)Sets the error code.voidsetErrorMsg(java.lang.String errorMsg)Sets the error message.
-
-
-
Field Detail
-
GENERAL_ERROR
public static int GENERAL_ERROR
General error code.
-
DUPLICATE_LAYER
public static int DUPLICATE_LAYER
Duplicate layer error code.
-
TABLE_ALREADY_EXISTS
public static int TABLE_ALREADY_EXISTS
Table already exists error code.
-
WRONG_TABLE_NAME
public static int WRONG_TABLE_NAME
Wrong table name error code.
-
WS_ALREADY_EXISTS
public static int WS_ALREADY_EXISTS
Workspace already exists error code.
-
CATALOG_ALREADY_EXISTS
public static int CATALOG_ALREADY_EXISTS
Catalog already exists error code.
-
WS_NOT_LEAF
public static int WS_NOT_LEAF
Not leaf workspace error code.
-
INVALID_COLUMN_NAME
public static int INVALID_COLUMN_NAME
Invalid column name error code.
-
INVALID_SQL_NAME
public static int INVALID_SQL_NAME
Invalid SQL Name error code.
-
-
Constructor Detail
-
NFEIOException
public NFEIOException()
-
NFEIOException
public NFEIOException(java.lang.String message)
-
NFEIOException
public NFEIOException(java.lang.Throwable throwable)
-
NFEIOException
public NFEIOException(java.lang.String message, java.lang.Throwable throwable)
-
NFEIOException
public NFEIOException(java.lang.String message, int errorCode)
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
Returns the error code.- Returns:
- one of the following constants: NFEIOException.GENERAL_ERROR, NFEIOException.DUPLICATE_LAYER, NFEIOException.TABLE_ALREADY_EXISTS, NFEIOException.WRONG_TABLE_NAME, NFEIOException.WS_ALREADY_EXISTS, NFEIOException.CATALOG_ALREADY_EXISTS, NFEIOException.WS_NOT_LEAF or NFEIOException.INVALID_COLUMN_NAME
-
setErrorCode
public void setErrorCode(int errorCode)
Sets the error code.- Parameters:
errorCode- error code
-
getErrorMsg
public java.lang.String getErrorMsg()
Returns the error message.- Returns:
- error message
-
setErrorMsg
public void setErrorMsg(java.lang.String errorMsg)
Sets the error message.- Parameters:
errorMsg- error message
-
-