Class IoTDBException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int errorCode  
      protected boolean isUserException
      This kind of exception is caused by users' wrong sql, and there is no need for server to print the full stack of the exception
    • Constructor Summary

      Constructors 
      Constructor Description
      IoTDBException​(java.lang.String message, int errorCode)  
      IoTDBException​(java.lang.String message, int errorCode, boolean isUserException)  
      IoTDBException​(java.lang.String message, java.lang.Throwable cause, int errorCode)  
      IoTDBException​(java.lang.Throwable cause, int errorCode)  
      IoTDBException​(java.lang.Throwable cause, int errorCode, boolean isUserException)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()  
      boolean isUserException()  
      • 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

      • errorCode

        protected int errorCode
      • isUserException

        protected boolean isUserException
        This kind of exception is caused by users' wrong sql, and there is no need for server to print the full stack of the exception
    • Constructor Detail

      • IoTDBException

        public IoTDBException​(java.lang.String message,
                              int errorCode)
      • IoTDBException

        public IoTDBException​(java.lang.String message,
                              int errorCode,
                              boolean isUserException)
      • IoTDBException

        public IoTDBException​(java.lang.String message,
                              java.lang.Throwable cause,
                              int errorCode)
      • IoTDBException

        public IoTDBException​(java.lang.Throwable cause,
                              int errorCode)
      • IoTDBException

        public IoTDBException​(java.lang.Throwable cause,
                              int errorCode,
                              boolean isUserException)
    • Method Detail

      • isUserException

        public boolean isUserException()
      • getErrorCode

        public int getErrorCode()