Class FaultDSL
- java.lang.Object
-
- org.gcube.common.clients.exceptions.FaultDSL
-
public class FaultDSL extends Object
A simple DSL for fault conversion.- Author:
- Fabio Simeoni
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFaultDSL.AsClauseFault narrowing clause;
-
Constructor Summary
Constructors Constructor Description FaultDSL()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FaultDSL.AsClauseagain(Throwable fault)Indicates a fault to be rethrown with a narrower type.
-
-
-
Method Detail
-
again
public static FaultDSL.AsClause again(Throwable fault)
Indicates a fault to be rethrown with a narrower type.- Parameters:
fault- the fault- Returns:
- the next clause in the sentence
-
-