Don't use java 7 exceptions yet