Class IoTDBException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.iotdb.commons.exception.IoTDBException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ConfigurationException,MetadataException,PipeException,PipeServerException,PipeSinkException,ShutdownException,StartupException,SyncConnectionException
public class IoTDBException extends java.lang.Exception- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected interrorCodeprotected booleanisUserExceptionThis 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 intgetErrorCode()booleanisUserException()
-
-
-
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)
-
-