microsoft / oauth2-useragent

Microsoft OAuth 2.0 User Agent library for Java. Provides classes to facilitate the implementation of "4.1. Authorization Code Grant" from RFC 6749.
Other
35 stars 22 forks source link

Separate machine-readable and human-readable representations of AuthorizationException #24

Closed olivierdagenais closed 8 years ago

olivierdagenais commented 8 years ago

This addresses issue #23 by modifying the toString() method of AuthorizationException to generate a human-readable representation, which is consistent with Throwable. There was only one explicit call to toString() that needed the machine-readable version and it was updated to be consistent with other nearby calls (see 7671ebd).