public abstract class DistSQLException extends SQLException
| 构造器和说明 |
|---|
DistSQLException(int errorCode,
String reason) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
predictionThrow(boolean state,
Supplier<DistSQLException> exceptionSupplier)
Predict and throw an exception.
|
getErrorCode, getNextException, getSQLState, iterator, setNextExceptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic DistSQLException(int errorCode,
String reason)
public static void predictionThrow(boolean state,
Supplier<DistSQLException> exceptionSupplier)
throws DistSQLException
state - stateexceptionSupplier - exception supplierDistSQLException - distSQLExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.