print exception attribute