import hudson.AbortException
throw new AbortException( "throw aborted exception" )
try {
throw new AbortException( "throw aborted exception" )
} catch(e) {
def sw = new StringWriter()
e.printStackTrace( new PrintWriter(sw) )
println sw.toString()
// throw e // if not throw error, the catch process will only print the error message
}