org.gcube.common.clients.exceptions
Class FaultDSL

java.lang.Object
  extended by org.gcube.common.clients.exceptions.FaultDSL

public class FaultDSL
extends Object

A simple DSL for fault conversion.

Author:
Fabio Simeoni

Nested Class Summary
static class FaultDSL.AsClause
          Fault narrowing clause;
 
Constructor Summary
FaultDSL()
           
 
Method Summary
static FaultDSL.AsClause again(Throwable fault)
          Indicates a fault to be rethrown with a narrower type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultDSL

public FaultDSL()
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


Copyright © 2013. All Rights Reserved.