|
Groovy example source code file (Groovy2666Bug.groovy)
The Groovy Groovy2666Bug.groovy source code
package groovy.bugs
import org.codehaus.groovy.GroovyBugError
class Groovy2666Bug extends GroovyTestCase{
private void ex () {
throw new GroovyBugError ("ERR")
}
void testMe () {
try {
ex ()
} catch (org.codehaus.groovy.GroovyBugError e) {
println "caught"
return
} catch (NullPointerException e) {
}
fail ()
}
}
Other Groovy examples (source code examples)Here is a short list of links related to this Groovy Groovy2666Bug.groovy source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.