Class NFEIOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NFEIOException
    extends java.lang.Exception
    Base exception for NFE.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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