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
  • Constructor Details

    • FaultDSL

      public FaultDSL()
  • Method Details

    • 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