e.getMessage() here is probably problematic too, should be e.toString()