print exception