| public class org.ietf.jgss GSSException
|
Java SE 6 |
| version | 1.12, 11/17/05 |
| since | 1.4 |
| Fields | |
|---|---|
| final public static int | BAD_BINDINGS Channel bindings mismatch. |
| final public static int | BAD_MECH Unsupported mechanism requested. |
| final public static int | BAD_NAME Invalid name provided. |
| final public static int | BAD_NAMETYPE Name of unsupported type provided. |
| final public static int | BAD_STATUS Invalid status code. |
| final public static int | BAD_MIC Token had invalid integrity check. |
| final public static int | CONTEXT_EXPIRED Security context expired. |
| final public static int | CREDENTIALS_EXPIRED Expired credentials. |
| final public static int | DEFECTIVE_CREDENTIAL Defective credentials. |
| final public static int | DEFECTIVE_TOKEN Defective token. |
| final public static int | FAILURE General failure, unspecified at GSS-API level. |
| final public static int | NO_CONTEXT Invalid security context. |
| final public static int | NO_CRED Invalid credentials. |
| final public static int | BAD_QOP Unsupported QOP value. |
| final public static int | UNAUTHORIZED Operation unauthorized. |
| final public static int | UNAVAILABLE Operation unavailable. |
| final public static int | DUPLICATE_ELEMENT Duplicate credential element requested. |
| final public static int | NAME_NOT_MN Name contains multi-mechanism elements. |
| final public static int | DUPLICATE_TOKEN The token was a duplicate of an earlier token. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose. |
| final public static int | OLD_TOKEN The token's validity period has expired. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose. |
| final public static int | UNSEQ_TOKEN A later token has already been processed. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose. |
| final public static int | GAP_TOKEN An expected per-message token was not received. This is a fatal error code that may occur during context establishment. It is not used to indicate supplementary status values. The MessageProp object is used for that purpose. |
| 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. This constructor is to be used when the exception is originating from the underlying mechanism level. It allows the setting of both the GSS code and the mechanism code.
| ||||||
| Methods | |||
|---|---|---|---|
| public String | toString() Returns a textual representation of both the major and the minor status codes.
| ||
| Properties | |||||||
|---|---|---|---|---|---|---|---|
| public int | getMajor() Returns the GSS-API level major error code for the problem causing this exception to be thrown. Major error codes are defined at the mechanism independent GSS-API level in this class. Mechanism specific error codes that might provide more information aer set as the minor error code.
| ||||||
| public String | getMajorString() Returns a string explaining the GSS-API level major error code in this exception.
| ||||||
| public String | getMessage() Returns a textual representation of both the major and the minor status codes.
| ||||||
| public void | setMinor(int minorCode, String message) Used by the exception thrower to set the mechanism level minor error code and its string explanation. This is used by mechanism providers to indicate error details.
| ||||||
| public int | getMinor() Returns the mechanism level error code for the problem causing this exception to be thrown. The minor code is set by the underlying mechanism.
| ||||||
| public String | getMinorString() Returns a string explaining the mechanism specific error code. If the minor status code is 0, then no mechanism level error details will be available.
| ||||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|