API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.ietf.jgss. GSSException View Source
Author(s)
Mayank Upadhyay
Since
1.4
Version
1.12, 11/17/05
Serial
Hierarchy
 Object
      Throwable
          Exception
              GSSException
Implements
Subclasses
Description
public exception GSSException
  This exception is thrown whenever a GSS-API error occurs, including any mechanism specific error.
See also:   
Constructors
public GSSException (int majorCode)
  Creates a GSSException object with a specified major code.
public GSSException (int majorCode, int minorCode, String minorString)
  Creates a GSSException object with the specified major code, minor code, and minor code textual explanation.
pack-private GSSException (int majorCode, String majorString)
  Construct a GSSException object with a specified major code and a specific major string for it.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public int getMajor ()
  Returns the GSS-API level major error code for the problem causing this exception to be thrown.
public String getMajorString ()
  Returns a string explaining the GSS-API level major error code in this exception.
public String getMessage () [Overrides Throwable]
  Returns a textual representation of both the major and the minor status codes.
public int getMinor ()
  Returns the mechanism level error code for the problem causing this exception to be thrown.
public String getMinorString ()
  Returns a string explaining the mechanism specific error code.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Inherited From Throwable]
  Prints this throwable and its backtrace to the standard error stream.
public void printStackTrace (PrintStream s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print stream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
public void setMinor (int minorCode, String message)
  Used by the exception thrower to set the mechanism level minor error code and its string explanation.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Overrides Throwable]
  Returns a textual representation of both the major and the minor status codes.
Fields
Hide/Show inherited fields
publicfinalstatic int BAD_BINDINGS = "1"
Channel bindings mismatch.
publicfinalstatic int BAD_MECH = "2"
Unsupported mechanism requested.
publicfinalstatic int BAD_MIC = "6"
Token had invalid integrity check.
publicfinalstatic int BAD_NAME = "3"
Invalid name provided.
publicfinalstatic int BAD_NAMETYPE = "4"
Name of unsupported type provided.
publicfinalstatic int BAD_QOP = "14"
Unsupported QOP value.
publicfinalstatic int BAD_STATUS = "5"
Invalid status code.
publicfinalstatic int CONTEXT_EXPIRED = "7"
Security context expired.
publicfinalstatic int CREDENTIALS_EXPIRED = "8"
Expired credentials.
publicfinalstatic int DEFECTIVE_CREDENTIAL = "9"
Defective credentials.
publicfinalstatic int DEFECTIVE_TOKEN = "10"
Defective token.
publicfinalstatic int DUPLICATE_ELEMENT = "17"
Duplicate credential element requested.
publicfinalstatic int DUPLICATE_TOKEN = "19"
  The token was a duplicate of an earlier token.
publicfinalstatic int FAILURE = "11"
General failure, unspecified at GSS-API level.
publicfinalstatic int GAP_TOKEN = "22"
  An expected per-message token was not received.
publicfinalstatic int NAME_NOT_MN = "18"
Name contains multi-mechanism elements.
publicfinalstatic int NO_CONTEXT = "12"
Invalid security context.
publicfinalstatic int NO_CRED = "13"
Invalid credentials.
publicfinalstatic int OLD_TOKEN = "20"
  The token's validity period has expired.
publicfinalstatic int UNAUTHORIZED = "15"
Operation unauthorized.
publicfinalstatic int UNAVAILABLE = "16"
Operation unavailable.
publicfinalstatic int UNSEQ_TOKEN = "21"
  A later token has already been processed.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar