oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1528056 - /oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java
Date Tue, 01 Oct 2013 11:53:27 GMT
Author: stein
Date: Tue Oct  1 11:53:27 2013
New Revision: 1528056

URL: http://svn.apache.org/r1528056
Log:
OLTU-121 Make OAuthProblemException extensible

Modified:
    oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java

Modified: oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java
URL: http://svn.apache.org/viewvc/oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java?rev=1528056&r1=1528055&r2=1528056&view=diff
==============================================================================
--- oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java
(original)
+++ oltu/trunk/oauth-2.0/common/src/main/java/org/apache/oltu/oauth2/common/exception/OAuthProblemException.java
Tue Oct  1 11:53:27 2013
@@ -31,7 +31,7 @@ import org.apache.oltu.oauth2.common.uti
  *
  *
  */
-public final class OAuthProblemException extends Exception {
+public class OAuthProblemException extends Exception {
 
     private String error;
     private String description;
@@ -44,11 +44,11 @@ public final class OAuthProblemException
 
     private Map<String, String> parameters = new HashMap<String, String>();
 
-    private OAuthProblemException(String error) {
+    protected OAuthProblemException(String error) {
         this(error, "");
     }
 
-    private OAuthProblemException(String error, String description) {
+    protected OAuthProblemException(String error, String description) {
         super(error + " " + description);
         this.description = description;
         this.error = error;



Mime
View raw message