Skip to content

Commit 1cb5b6c

Browse files
committed
added toString to error for debug and display
1 parent e1ae8f3 commit 1cb5b6c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

openid-connect-client/src/main/java/org/mitre/openid/connect/client/AuthorizationEndpointException.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,12 @@ public String getErrorDescription() {
3030
public String getErrorURI() {
3131
return errorURI;
3232
}
33+
34+
/* (non-Javadoc)
35+
* @see java.lang.Object#toString()
36+
*/
37+
@Override
38+
public String toString() {
39+
return "AuthorizationEndpointException [error=" + error + ", errorDescription=" + errorDescription + ", errorURI=" + errorURI + "]";
40+
}
3341
}

0 commit comments

Comments
 (0)