Package org.apache.datafusion
Class DataFusionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.datafusion.DataFusionException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConfigurationException,ExecutionException,IoException,NotImplementedException,PlanException,ResourcesExhaustedException
Base unchecked exception for every error surfaced from the native DataFusion side.
Concrete subclasses correspond to caller-relevant error categories (planning, execution, IO,
resources, configuration, not-implemented). Variants of DataFusionError on the Rust side
that don't fit a clean caller-facing category surface as the parent class itself.
All subclasses extend RuntimeException so existing callers that catch
(RuntimeException) keep working unchanged. Callers that want to discriminate can catch
(PlanException) / catch (ResourcesExhaustedException) etc., or catch
(DataFusionException) for "anything from DataFusion".
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDataFusionException(String message) DataFusionException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataFusionException
-
DataFusionException
-