Better error message.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 25 Jul 2003 20:38:04 +0000 (20:38 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Fri, 25 Jul 2003 20:38:04 +0000 (20:38 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@696 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/hs/HandleRepositoryFactory.java

index e4d7143..82335db 100644 (file)
@@ -88,8 +88,9 @@ public class HandleRepositoryFactory {
                                        + "configuration data.");
                        throw new HandleRepositoryException("Failed to instantiate a Handle Repository.");
                } catch (Exception e) {
                                        + "configuration data.");
                        throw new HandleRepositoryException("Failed to instantiate a Handle Repository.");
                } catch (Exception e) {
+
                        log.error("Failed to instantiate a Handle Repository: " + e + ":" + e.getCause());
                        log.error("Failed to instantiate a Handle Repository: " + e + ":" + e.getCause());
-                       throw new HandleRepositoryException("Failed to instantiate a Handle Repository: " + e.getMessage());
+                       throw new HandleRepositoryException("Failed to instantiate a Handle Repository: " + e);
 
                }
        }
 
                }
        }