net.sf.staccatocommons.lang.thunk.internal
Class FailThunk<A>

java.lang.Object
  extended by net.sf.staccatocommons.lang.thunk.internal.FailThunk<A>
Type Parameters:
A -
All Implemented Interfaces:
net.sf.staccatocommons.defs.Thunk<A>

public class FailThunk<A>
extends Object
implements net.sf.staccatocommons.defs.Thunk<A>

Thunk that just sends Ensure.fail(String, Object, String, Object...)

Author:
flbulgarelli

Constructor Summary
FailThunk(String message, Object[] args)
          Creates the FailThunk
 
Method Summary
 A value()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailThunk

public FailThunk(@NonNull
                 String message,
                 @NonNull
                 Object[] args)
Creates the FailThunk

Parameters:
message -
args -
Method Detail

value

public A value()
Specified by:
value in interface net.sf.staccatocommons.defs.Thunk<A>


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.