Print exception message.