--- 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();