| Modifier and Type | Field and Description |
|---|---|
| public static final int | BAD_BINDINGS
Channel bindings mismatch. |
| public static final int | BAD_MECH
Unsupported mechanism requested. |
| public static final int | BAD_MIC
Token had invalid integrity check. |
| public static final int | BAD_NAME
Invalid name provided. |
| public static final int | BAD_NAMETYPE
Name of unsupported type provided. |
| public static final int | BAD_QOP
Unsupported QOP value. |
| public static final int | BAD_STATUS
Invalid status code. |
| public static final int | CONTEXT_EXPIRED
Security context expired. |
| public static final int | CREDENTIALS_EXPIRED
Expired credentials. |
| public static final int | DEFECTIVE_CREDENTIAL
Defective credentials. |
| public static final int | DEFECTIVE_TOKEN
Defective token. |
| public static final int | DUPLICATE_ELEMENT
Duplicate credential element requested. |
| public static final int | DUPLICATE_TOKEN
The token was a duplicate of an earlier token. |
| public static final int | FAILURE
General failure, unspecified at GSS-API level. |
| public static final int | GAP_TOKEN
An expected per-message token was not received. |
| private final int | major
The major code for this exception |
| private String | majorString
Alternate text string for major code |
| private static final String[] | |
| private int | minor
The minor code for this exception |
| private String | minorMessage
The text string for minor code |
| public static final int | NAME_NOT_MN
Name contains multi-mechanism elements. |
| public static final int | NO_CONTEXT
Invalid security context. |
| public static final int | NO_CRED
Invalid credentials. |
| public static final int | OLD_TOKEN
The token's validity period has expired. |
| private static final long | |
| public static final int | UNAUTHORIZED
Operation unauthorized. |
| public static final int | UNAVAILABLE
Operation unavailable. |
| public static final int | UNSEQ_TOKEN
A later token has already been processed. |
| Access | Constructor and Description |
|---|---|
| public | GSSException(int
the GSS error code for the problem causing this
exception to be thrown. majorCode)Creates a GSSException object with a specified major code. |
| pack-priv | GSSException(int
the fatal error code causing this exception. majorCode, String an explicit message to be included in this exception majorString)Construct a GSSException object with a specified major code and a specific major string for it. |
| public | GSSException(int
the GSS error code for the problem causing this
exception to be thrown. majorCode, int the mechanism level error code for the problem
causing this exception to be thrown. minorCode, String the textual explanation of the mechanism error
code. minorString)Creates a GSSException object with the specified major code, minor code, and minor code textual explanation. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: int the GSS-API level major error code causing this exceptionReturns the GSS-API level major error code for the problem causing this exception to be thrown. |
| public String | Returns: String explanation string for the major error codeReturns a string explaining the GSS-API level major error code in this exception. |
| public String | Returns: a String with the error descriptionsOverrides java. Returns a textual representation of both the major and the minor status codes. |
| public int | Returns: int the mechanism error code; 0 indicates that it has not been set.Returns the mechanism level error code for the problem causing this exception to be thrown. |
| public String | Returns: String a textual explanation of mechanism error codeReturns a string explaining the mechanism specific error code. |
| public void | |
| public String | Returns: a String with the error descriptionsOverrides java. Returns a textual representation of both the major and the minor status codes. |
| private boolean |
| BAD_BINDINGS | back to summary |
|---|---|
| public static final int BAD_BINDINGS Channel bindings mismatch. | |
| BAD_MECH | back to summary |
|---|---|
| public static final int BAD_MECH Unsupported mechanism requested. | |
| BAD_MIC | back to summary |
|---|---|
| public static final int BAD_MIC Token had invalid integrity check. | |
| BAD_NAME | back to summary |
|---|---|
| public static final int BAD_NAME Invalid name provided. | |
| BAD_NAMETYPE | back to summary |
|---|---|
| public static final int BAD_NAMETYPE Name of unsupported type provided. | |
| BAD_QOP | back to summary |
|---|---|
| public static final int BAD_QOP Unsupported QOP value. | |
| BAD_STATUS | back to summary |
|---|---|
| public static final int BAD_STATUS Invalid status code. | |
| CONTEXT_EXPIRED | back to summary |
|---|---|
| public static final int CONTEXT_EXPIRED Security context expired. | |
| CREDENTIALS_EXPIRED | back to summary |
|---|---|
| public static final int CREDENTIALS_EXPIRED Expired credentials. | |
| DEFECTIVE_CREDENTIAL | back to summary |
|---|---|
| public static final int DEFECTIVE_CREDENTIAL Defective credentials. | |
| DEFECTIVE_TOKEN | back to summary |
|---|---|
| public static final int DEFECTIVE_TOKEN Defective token. | |
| DUPLICATE_ELEMENT | back to summary |
|---|---|
| public static final int DUPLICATE_ELEMENT Duplicate credential element requested. | |
| DUPLICATE_TOKEN | back to summary |
|---|---|
| public static final 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. | |
| FAILURE | back to summary |
|---|---|
| public static final int FAILURE General failure, unspecified at GSS-API level. | |
| GAP_TOKEN | back to summary |
|---|---|
| public static final 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. | |
| major | back to summary |
|---|---|
| private final int major The major code for this exception | |
| majorString | back to summary |
|---|---|
| private String majorString Alternate text string for major code | |
| messages | back to summary |
|---|---|
| private static final String[] messages | |
| minor | back to summary |
|---|---|
| private int minor The minor code for this exception | |
| minorMessage | back to summary |
|---|---|
| private String minorMessage The text string for minor code | |
| NAME_NOT_MN | back to summary |
|---|---|
| public static final int NAME_NOT_MN Name contains multi-mechanism elements. | |
| NO_CONTEXT | back to summary |
|---|---|
| public static final int NO_CONTEXT Invalid security context. | |
| NO_CRED | back to summary |
|---|---|
| public static final int NO_CRED Invalid credentials. | |
| OLD_TOKEN | back to summary |
|---|---|
| public static final 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. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| UNAUTHORIZED | back to summary |
|---|---|
| public static final int UNAUTHORIZED Operation unauthorized. | |
| UNAVAILABLE | back to summary |
|---|---|
| public static final int UNAVAILABLE Operation unavailable. | |
| UNSEQ_TOKEN | back to summary |
|---|---|
| public static final 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. | |
| GSSException | back to summary |
|---|---|
| public GSSException(int majorCode) Creates a GSSException object with a specified major code.
| |
| GSSException | back to summary |
|---|---|
| pack-priv GSSException(int majorCode, String majorString) Construct a GSSException object with a specified major code and a specific major string for it.
| |
| GSSException | back to summary |
|---|---|
| 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.
| |
| getMajor | back to summary |
|---|---|
| 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 are set as the minor error code.
| |
| getMajorString | back to summary |
|---|---|
| public String getMajorString() Returns a string explaining the GSS-API level major error code in this exception. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Returns a textual representation of both the major and the minor status codes.
| |
| getMinor | back to summary |
|---|---|
| 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.
| |
| getMinorString | back to summary |
|---|---|
| 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.
| |
| setMinor | back to summary |
|---|---|
| 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. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a textual representation of both the major and the minor status codes.
| |
| validateMajor | back to summary |
|---|---|
| private boolean validateMajor(int major) | |