net.sf.staccatocommons.lang.thunk.internal
Class FailThunk<A>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailThunk
public FailThunk(@NonNull
String message,
@NonNull
Object[] args)
- Creates the
FailThunk
- Parameters:
message - args -
value
public A value()
- Specified by:
value in interface net.sf.staccatocommons.defs.Thunk<A>
Copyright © 2010-2012 Staccatocommons. All Rights Reserved.