gnu.crypto.sasl

Class IllegalMechanismStateException


public class IllegalMechanismStateException
extends 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.1 $

Constructor Summary

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

Constructor Details

IllegalMechanismStateException

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


IllegalMechanismStateException

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

Parameters:
detail - the detail message.


IllegalMechanismStateException

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

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


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