[java-identity-provider COMMIT] in /trunk: idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/res...

noreply at shibboleth.net noreply at shibboleth.net
Mon Aug 5 22:29:42 EDT 2013


Author: scantor
Date: Mon Aug  5 22:29:42 2013
New Revision: 4663

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4663&view=rev
Log:
Get rid of superfluous exception class.

Modified:
    trunk/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/ad/DataSealerException.java
    trunk/idp-core/src/main/java/net/shibboleth/idp/ShibbolethException.java
    trunk/idp-core/src/main/java/net/shibboleth/idp/service/ServiceException.java

Modified: trunk/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/ad/DataSealerException.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/ad/DataSealerException.java?rev=4663&r1=4662&r2=4663&view=diff
==============================================================================
--- trunk/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/ad/DataSealerException.java (original)
+++ trunk/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/impl/ad/DataSealerException.java Mon Aug  5 22:29:42 2013
@@ -17,10 +17,12 @@
 
 package net.shibboleth.idp.attribute.resolver.impl.ad;
 
-import net.shibboleth.idp.ShibbolethException;
+import javax.annotation.Nullable;
+
 //TODO This needs to find a better home 
+
 /** Exceptions during use of the {@link DataSealer}. */
-public class DataSealerException extends ShibbolethException {
+public class DataSealerException extends Exception {
 
     /**
      * serialVersionUID.
@@ -39,7 +41,7 @@
      * 
      * @param message exception message
      */
-    public DataSealerException(String message) {
+    public DataSealerException(@Nullable final String message) {
         super(message);
     }
 
@@ -48,7 +50,7 @@
      * 
      * @param wrappedException exception to be wrapped by this one
      */
-    public DataSealerException(Exception wrappedException) {
+    public DataSealerException(@Nullable final Exception wrappedException) {
         super(wrappedException);
     }
 
@@ -58,7 +60,7 @@
      * @param message exception message
      * @param wrappedException exception to be wrapped by this one
      */
-    public DataSealerException(String message, Exception wrappedException) {
+    public DataSealerException(@Nullable final String message, @Nullable final Exception wrappedException) {
         super(message, wrappedException);
     }
-}
+}

Modified: trunk/idp-core/src/main/java/net/shibboleth/idp/service/ServiceException.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/main/java/net/shibboleth/idp/service/ServiceException.java?rev=4663&r1=4662&r2=4663&view=diff
==============================================================================
--- trunk/idp-core/src/main/java/net/shibboleth/idp/service/ServiceException.java (original)
+++ trunk/idp-core/src/main/java/net/shibboleth/idp/service/ServiceException.java Mon Aug  5 22:29:42 2013
@@ -19,12 +19,10 @@
 
 import javax.annotation.Nullable;
 
-import net.shibboleth.idp.ShibbolethException;
-
 /**
  * Base exception for Service related errors.
  */
-public class ServiceException extends ShibbolethException {
+public class ServiceException extends Exception {
 
     /** Serial version UID. */
     private static final long serialVersionUID = 5875639786427807960L;



More information about the commits mailing list