fix for issue 314, remove codehaus exception
Merge pull request #38 from gcheng/codehausbugfix

fix for issue 314, remove codehaus exception