fix for issue 314, remove codehaus exception