public class FailClosureTarget extends Object implements ClosureTarget
fail
closure.
fail()
fail(Object)
fail(Throwable)
fail(Object, Throwable)
fail('I done goofed')
try { .... } catch (e) { fail(e) }
try { .... } catch (e) { fail('Houston we have a problem', e) }
Constructor and Description |
---|
FailClosureTarget() |
Copyright © 2006–2019. All rights reserved.