Better exception message format