sun.security.mule.jgss
Class GSSExceptionImpl
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.ietf.jgss.GSSException
sun.security.mule.jgss.GSSExceptionImpl
- All Implemented Interfaces:
- Serializable
public class GSSExceptionImpl
- extends GSSException
This class helps overcome a limitation of the org.ietf.jgss.GSSException
class that does not allow the thrower to set a string corresponding to
the major code.
- See Also:
- Serialized Form
| Fields inherited from class org.ietf.jgss.GSSException |
BAD_BINDINGS, BAD_MECH, BAD_MIC, BAD_NAME, BAD_NAMETYPE, BAD_QOP, BAD_STATUS, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_ELEMENT, DUPLICATE_TOKEN, FAILURE, GAP_TOKEN, NAME_NOT_MN, NO_CONTEXT, NO_CRED, OLD_TOKEN, UNAUTHORIZED, UNAVAILABLE, UNSEQ_TOKEN |
|
Constructor Summary |
GSSExceptionImpl(int majorCode,
Exception cause)
A constructor that takes the majorCode and the exception cause. |
GSSExceptionImpl(int majorCode,
String majorMessage)
A constructor that takes the majorCode as well as the message that
corresponds to it. |
GSSExceptionImpl(int majorCode,
String majorMessage,
Exception cause)
A constructor that takes the majorCode, the message that
corresponds to it, and the exception cause. |
|
Method Summary |
String |
getMessage()
Returns the message that was embedded in this object, otherwise it
returns the default message that an org.ietf.jgss.GSSException
generates. |
GSSExceptionImpl
public GSSExceptionImpl(int majorCode,
String majorMessage)
- A constructor that takes the majorCode as well as the message that
corresponds to it.
GSSExceptionImpl
public GSSExceptionImpl(int majorCode,
Exception cause)
- A constructor that takes the majorCode and the exception cause.
GSSExceptionImpl
public GSSExceptionImpl(int majorCode,
String majorMessage,
Exception cause)
- A constructor that takes the majorCode, the message that
corresponds to it, and the exception cause.
getMessage
public String getMessage()
- Returns the message that was embedded in this object, otherwise it
returns the default message that an org.ietf.jgss.GSSException
generates.
- Overrides:
getMessage in class GSSException
Copyright © 2013. All Rights Reserved.