org.gcube.data.streams.dsl
Class Faults
java.lang.Object
org.gcube.data.streams.dsl.Faults
public class Faults
- extends Object
A simple DSL for fault conversion.
- Author:
- Fabio Simeoni
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Faults
public Faults()
causeOf
public static Faults.OngoingRethrowClause causeOf(RuntimeException fault)
- Indicates a fault to be rethrown with a narrower type.
- Parameters:
fault - the fault
- Returns:
- the next clause in the sentence
Copyright © 2012. All Rights Reserved.