Class DrillRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.drill.common.exceptions.DrillRuntimeException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FunctionValidationException,InvalidIndexDefinitionException,JarValidationException,LogicalPlanParsingException,MetadataException,OversizedAllocationException,SchemaChangeRuntimeException,SchemaParsingException,StateTransitionException,UserException,VersionMismatchException
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDrillRuntimeException(String message) DrillRuntimeException(String message, Throwable cause) DrillRuntimeException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) DrillRuntimeException(Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method can be called within loops to check whether the current thread has been interrupted; it ensures that operator implementation can respond to query cancellation in a timely manner.static DrillRuntimeExceptionstatic DrillRuntimeExceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DrillRuntimeException
public DrillRuntimeException() -
DrillRuntimeException
-
DrillRuntimeException
-
DrillRuntimeException
-
DrillRuntimeException
-
-
Method Details
-
create
-
create
-
checkInterrupted
public static void checkInterrupted()This method can be called within loops to check whether the current thread has been interrupted; it ensures that operator implementation can respond to query cancellation in a timely manner.Calling this method will result in the following behavior:
- Throws a runtime exception if current thread interrupt flag has been set
- Clears current thread interrupt flag
-