summaryrefslogtreecommitdiff
blob: 47957cc5ec5fbe219a6146d7cc33f6dc1084e18b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java
--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ClientMechanism.java	2003-11-21 10:22:10.000000000 +0100
+++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ClientMechanism.java	2005-05-24 16:16:37.493727834 +0200
@@ -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 IllegalStateException();
       }
       if (Sasl.QOP.equals(propName)) {
          return getNegotiatedQOP();
diff -Nur gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java
--- gnu-crypto-2.0.1/source/gnu/crypto/sasl/ServerMechanism.java	2003-11-21 10:26:14.000000000 +0100
+++ gnu-crypto-2.0.1-new/source/gnu/crypto/sasl/ServerMechanism.java	2005-05-24 16:16:55.503085024 +0200
@@ -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 IllegalStateException();
       }
       if (Sasl.QOP.equals(propName)) {
          return getNegotiatedQOP();