Source code: cryptix/sasl/IllegalMechanismStateException.java
1 package cryptix.sasl;
2
3 // $Id: IllegalMechanismStateException.java,v 1.2 2001/06/16 09:03:59 raif Exp $
4 //
5 // Copyright (c) 2000-2001 The Cryptix Foundation Limited. All rights reserved.
6 //
7 // Use, modification, copying and distribution of this software is subject to
8 // the terms and conditions of the Cryptix General Licence. You should have
9 // received a copy of the Cryptix General License along with this library; if
10 // not, you can download a copy from <http://www.cryptix.org/>.
11
12 import javax.security.sasl.SaslException;
13
14 /**
15 * A checked exception thrown to indicate that an operation that should be
16 * invoked on a completed mechanism was invoked but the authentication phase of
17 * that mechanism was not completed yet, or that an operation that should be
18 * invoked on incomplete mechanisms was invoked but the authentication phase of
19 * that mechanism was already completed.
20 *
21 * @version $Revision: 1.2 $
22 * @since draft-weltman-java-sasl-05
23 */
24 public class IllegalMechanismStateException
25 extends SaslException
26 {
27 /**
28 * Constructs a new instance of <tt>IllegalMechanismStateException</tt> with
29 * no detail message.
30 */
31 public IllegalMechanismStateException() {
32 super();
33 }
34
35 /**
36 * Constructs a new instance of <tt>IllegalMechanismStateException</tt> with
37 * the specified detail message.
38 *
39 * @param s the detail message.
40 */
41 public IllegalMechanismStateException(String s) {
42 super(s);
43 }
44 }