Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > by-pkgid > 7343c30b5461e9e3fddf290a52c35535 > files > 4

gnu-crypto-2.1.0-6mdv2007.0.src.rpm

--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java.orig	2003-11-21 09:22:10.000000000 +0000
+++ gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java	2005-12-14 11:39:45.000000000 +0000
@@ -140,9 +140,9 @@
       return mechanism;
    }
 
-   public Object getNegotiatedProperty(final String propName) throws SaslException {
+   public Object getNegotiatedProperty(final String propName) {
       if (!isComplete()) {
-         throw new IllegalMechanismStateException();
+         throw new RuntimeException(new IllegalMechanismStateException());
       }
       if (Sasl.QOP.equals(propName)) {
          return getNegotiatedQOP();
--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java.orig	2003-11-21 09:26:14.000000000 +0000
+++ gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java	2005-12-14 11:40:06.000000000 +0000
@@ -147,9 +147,9 @@
       return this.authorizationID;
    }
 
-   public Object getNegotiatedProperty(final String propName) throws SaslException {
+   public Object getNegotiatedProperty(final String propName) {
       if (!isComplete()) {
-         throw new IllegalMechanismStateException();
+         throw new RuntimeException(new IllegalMechanismStateException());
       }
       if (Sasl.QOP.equals(propName)) {
          return getNegotiatedQOP();