|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
java.lang.Throwable
![]()
![]()
![]()
java.lang.Exception
![]()
![]()
![]()
java.io.IOException
![]()
![]()
![]()
javax.security.sasl.SaslException


public class SaslException

This class represents an error that has occurred when using SASL.
| Constructor Summary | |
|---|---|
SaslException
Constructs a new instance of SaslException. |
|
SaslException
Constructs a new instance of SaslException with a detailed message. |
|
SaslException
Constructs a new instance of SaslException with a detailed message and a root exception. |
|
| Method Summary | |
|---|---|
Throwable |
getCause
Returns the cause of this throwable or null if the
cause is nonexistent or unknown. |
Throwable |
initCause
Initializes the cause of this throwable to the specified value. |
String |
toString
Returns the string representation of this exception. |
Methods inherited from class java.lang.Throwable ![]() |
|---|
fillInStackTrace |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| Constructor Detail |
|---|

public SaslException()

public SaslException(String![]()
![]()
detail)
detail - A possibly null string containing details of the exception.Throwable.getMessage()


public SaslException(String![]()
![]()
detail, Throwable
![]()
![]()
ex)
detail - A possibly null string containing details of the exception.ex - A possibly null root exception that caused this exception.Throwable.getMessage()
,
getCause()

| Method Detail |
|---|

public Throwable![]()
![]()
getCause()
Throwable

null if the
cause is nonexistent or unknown. (The cause is the throwable that
caused this throwable to get thrown.)
This implementation returns the cause that was supplied via one of
the constructors requiring a Throwable, or that was set after
creation with the Throwable.initCause(Throwable)
method. While it is
typically unnecessary to override this method, a subclass can override
it to return a cause set by some other means. This is appropriate for
a "legacy chained throwable" that predates the addition of chained
exceptions to Throwable. Note that it is not
necessary to override any of the PrintStackTrace methods,
all of which invoke the getCause method to determine the
cause of a throwable.
getCause

in class Throwable

null if the
cause is nonexistent or unknown.

public Throwable![]()
![]()
initCause(Throwable
![]()
![]()
cause)
Throwable

This method can be called at most once. It is generally called from
within the constructor, or immediately after creating the
throwable. If this throwable was created
with Throwable.Throwable(Throwable)
or
Throwable.Throwable(String,Throwable)
, this method cannot be called
even once.
initCause

in class Throwable

cause - the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)
Throwable instance.

public String![]()
![]()
toString()
toString

in class Throwable

Throwable.getMessage()

|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||