For the latest news and information visit
The GNU Crypto project

gnu.crypto.sasl
Class IllegalMechanismStateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjavax.security.sasl.SaslException
                  extended byjavax.security.sasl.AuthenticationException
                      extended bygnu.crypto.sasl.IllegalMechanismStateException
All Implemented Interfaces:
java.io.Serializable

public class IllegalMechanismStateException
extends javax.security.sasl.AuthenticationException

A checked exception thrown to indicate that an operation that should be invoked on a completed mechanism was invoked but the authentication phase of that mechanism was not completed yet, or that an operation that should be invoked on incomplete mechanisms was invoked but the authentication phase of that mechanism was already completed.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
IllegalMechanismStateException()
          Constructs a new instance of IllegalMechanismStateException with no detail message.
IllegalMechanismStateException(java.lang.String detail)
          Constructs a new instance of IllegalMechanismStateException with the specified detail message.
IllegalMechanismStateException(java.lang.String detail, java.lang.Throwable ex)
          Constructs a new instance of IllegalMechanismStateException with the specified detail message, and cause.
 
Methods inherited from class javax.security.sasl.SaslException
getCause, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalMechanismStateException

public IllegalMechanismStateException()
Constructs a new instance of IllegalMechanismStateException with no detail message.


IllegalMechanismStateException

public IllegalMechanismStateException(java.lang.String detail)
Constructs a new instance of IllegalMechanismStateException with the specified detail message.

Parameters:
detail - the detail message.

IllegalMechanismStateException

public IllegalMechanismStateException(java.lang.String detail,
                                      java.lang.Throwable ex)
Constructs a new instance of IllegalMechanismStateException with the specified detail message, and cause.

Parameters:
detail - the detail message.
ex - the original cause.

For the latest news and information visit
The GNU Crypto project

Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.