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
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()
Returns the GSS-API level major error code for the problem causing
this exception to be thrown.
|
String
|
getMajorString()
Returns a string explaining the GSS-API level major error code in
this exception.
|
String
|
getMessage()
Returns a textual representation of both the major and the minor
status codes.
|
int
|
getMinor()
Returns the mechanism level error code for the problem causing this
exception to be thrown.
|
String
|
getMinorString()
Returns a string explaining the mechanism specific error code.
|
void
|
setMinor(int minorCode, String message)
Used by the exception thrower to set the mechanism
level minor error code and its string explanation.
|
String
|
toString()
Returns a textual representation of both the major and the minor
status codes.
|
|
From class
java.lang.Throwable
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
final
void
|
wait(long timeout, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long timeout)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
|
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.
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.
Returns
- a String with the error descriptions