| java.lang.Object |
| ↳ |
java.lang.Throwable |
| |
↳ |
java.lang.Exception |
| |
|
↳ |
org.ietf.jgss.GSSException |
| |
|
|
↳ |
sun.security.mule.jgss.GSSExceptionImpl |
Class Overview
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.
Summary
|
[Expand]
Inherited Constants |
From class
org.ietf.jgss.GSSException
| int |
BAD_BINDINGS |
|
| int |
BAD_MECH |
|
| int |
BAD_MIC |
|
| int |
BAD_NAME |
|
| int |
BAD_NAMETYPE |
|
| int |
BAD_QOP |
|
| int |
BAD_STATUS |
|
| int |
CONTEXT_EXPIRED |
|
| int |
CREDENTIALS_EXPIRED |
|
| int |
DEFECTIVE_CREDENTIAL |
|
| int |
DEFECTIVE_TOKEN |
|
| int |
DUPLICATE_ELEMENT |
|
| int |
DUPLICATE_TOKEN |
|
| int |
FAILURE |
|
| int |
GAP_TOKEN |
|
| int |
NAME_NOT_MN |
|
| int |
NO_CONTEXT |
|
| int |
NO_CRED |
|
| int |
OLD_TOKEN |
|
| int |
UNAUTHORIZED |
|
| int |
UNAVAILABLE |
|
| int |
UNSEQ_TOKEN |
|
| long |
serialVersionUID |
|
|
From class
java.lang.Exception
|
From class
java.lang.Throwable
|
|
[Expand]
Inherited Fields |
From class
org.ietf.jgss.GSSException
|
private
int |
major |
|
|
private
String |
majorString |
|
|
private
static
String[] |
messages |
|
|
private
int |
minor |
|
|
private
String |
minorMessage |
|
|
From class
java.lang.Throwable
|
private
Object |
backtrace |
|
|
private
Throwable |
cause |
|
|
private
String |
detailMessage |
|
|
private
StackTraceElement[] |
stackTrace |
|
|
| Public Constructors |
|
|
GSSExceptionImpl(int majorCode, String majorMessage)
A constructor that takes the majorCode as well as the message that
corresponds to it.
|
|
|
GSSExceptionImpl(int majorCode, Exception cause)
A constructor that takes the majorCode and the exception cause.
|
|
|
GSSExceptionImpl(int majorCode, String majorMessage, Exception cause)
A constructor that takes the majorCode, the message that
corresponds to it, and the exception cause.
|
| Public Methods |
|
String
|
getMessage()
Returns the message that was embedded in this object, otherwise it
returns the default message that an org.ietf.jgss.GSSException
generates.
|
|
[Expand]
Inherited Methods |
From class
org.ietf.jgss.GSSException
|
int
|
getMajor()
|
|
String
|
getMajorString()
|
|
String
|
getMessage()
|
|
int
|
getMinor()
|
|
String
|
getMinorString()
|
|
void
|
setMinor(int arg0, String arg1)
|
|
String
|
toString()
|
|
From class
java.lang.Throwable
|
synchronized
Throwable
|
fillInStackTrace()
|
|
Throwable
|
getCause()
|
|
String
|
getLocalizedMessage()
|
|
String
|
getMessage()
|
|
StackTraceElement[]
|
getStackTrace()
|
|
synchronized
Throwable
|
initCause(Throwable arg0)
|
|
void
|
printStackTrace(PrintWriter arg0)
|
|
void
|
printStackTrace(PrintStream arg0)
|
|
void
|
printStackTrace()
|
|
void
|
setStackTrace(StackTraceElement[] arg0)
|
|
String
|
toString()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
4251197939069005575
(0x3aff4a007414af07)
Fields
private
String
majorMessage
Public Constructors
public
GSSExceptionImpl
(int majorCode, String majorMessage)
A constructor that takes the majorCode as well as the message that
corresponds to it.
public
GSSExceptionImpl
(int majorCode, Exception cause)
A constructor that takes the majorCode and the exception cause.
public
GSSExceptionImpl
(int majorCode, String majorMessage, Exception cause)
A constructor that takes the majorCode, the message that
corresponds to it, and the exception cause.
Parameters
| majorCode
| |
| majorMessage
| |
| cause
| |
Public Methods
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.