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 SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
CausedBypublic CausedBy()
 
- 
- 
Method Details- 
unapply
 
-