Package org.apache.spark.util
Class CausedBy
Object
org.apache.spark.util.CausedBy
Extractor Object for pulling out the root cause of an error.
If the error contains no cause, it will return the error itself.
Usage: try { ... } catch { case CausedBy(ex: CommitDeniedException) => ... }
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CausedBy
public CausedBy()
-
-
Method Details
-
unapply
-