aaaaaaaaaaaaaaaaaaaaaaaaaaah!
authorblk <blk@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 11 Jun 2002 20:56:33 +0000 (20:56 +0000)
committerblk <blk@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 11 Jun 2002 20:56:33 +0000 (20:56 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@66 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/hs/ClubShibSQLHandleRepository.java
src/edu/internet2/middleware/shibboleth/hs/HandleEntry.java
src/edu/internet2/middleware/shibboleth/hs/HandleException.java
src/edu/internet2/middleware/shibboleth/hs/HandleRepositoryFactory.java
src/edu/internet2/middleware/shibboleth/hs/HandleServiceSAML.java
src/edu/internet2/middleware/shibboleth/hs/HandleServlet.java

index 79881e4..29c2e15 100755 (executable)
@@ -1,4 +1,4 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import java.util.*;
 import java.sql.*;
@@ -54,7 +54,7 @@ public class ClubShibSQLHandleRepository extends HandleRepositoryFactory{
             ResultSet rs = st.executeQuery(query);
 
            if(rs == null)
-               throw new HandleException(HandleException.ERR, "null result set for handle: "+handle);
+               throw new HandleException("null result set for handle: "+handle);
            
            while (rs.next()) {
                he = new HandleEntry( rs.getString("handle"), 
@@ -65,11 +65,11 @@ public class ClubShibSQLHandleRepository extends HandleRepositoryFactory{
            }
            st.close();
        }
-       catch (SQLException e) {
-           throw new HandleException(HandleException.SQL, e.getMessage());
+       catch (SQLException ex) {
+           throw new HandleException(ex.getMessage());
         }
        if ( he == null ) 
-           throw new HandleException(HandleException.ERR, "getHandleEntry() cannot find matching record for handle: "+handle);
+           throw new HandleException("getHandleEntry() cannot find matching record for handle: "+handle);
        else
            return he;
     }
index 7d91a04..f41d8a6 100755 (executable)
@@ -1,10 +1,9 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import edu.internet2.middleware.shibboleth.*;
 import edu.internet2.middleware.shibboleth.common.*;
 import org.opensaml.*;
 import java.util.*;
-import HandleException;
 import org.doomdark.uuid.*;
 
 /**
index 3bfd215..eb56edb 100755 (executable)
@@ -1,4 +1,4 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import edu.internet2.middleware.shibboleth.*;
 import edu.internet2.middleware.shibboleth.common.*;
index aa587d6..fb17fed 100644 (file)
@@ -1,4 +1,4 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import javax.servlet.http.*;
 import edu.internet2.middleware.shibboleth.*;
index 8c020af..084dee1 100755 (executable)
@@ -1,4 +1,4 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import java.io.*;
 import java.util.*;
index 867b499..fbdcaba 100644 (file)
@@ -1,4 +1,4 @@
-package edu.internet2.middleware.shibboleth.hs
+package edu.internet2.middleware.shibboleth.hs;
 
 import java.io.*;
 import java.text.*;