Package org.globus.gsi.gssapi
Class GlobusGSSException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ietf.jgss.GSSException
-
- org.globus.gsi.gssapi.GlobusGSSException
-
- All Implemented Interfaces:
java.io.Serializable
public class GlobusGSSException extends org.ietf.jgss.GSSException- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intBAD_ARGUMENTstatic intBAD_MICstatic intBAD_NAMEstatic intBAD_OPTIONstatic intBAD_OPTION_TYPEstatic intCREDENTIAL_ERRORstatic intDELEGATION_ERRORstatic intPROXY_VIOLATIONstatic intTOKEN_FAILstatic intUNKNOWNstatic intUNKNOWN_OPTION-
Fields inherited from class org.ietf.jgss.GSSException
BAD_BINDINGS, BAD_MECH, BAD_NAMETYPE, BAD_QOP, BAD_STATUS, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_ELEMENT, DUPLICATE_TOKEN, FAILURE, GAP_TOKEN, NAME_NOT_MN, NO_CONTEXT, NO_CRED, OLD_TOKEN, UNAUTHORIZED, UNAVAILABLE, UNSEQ_TOKEN
-
-
Constructor Summary
Constructors Constructor Description GlobusGSSException(int majorCode, int minorCode, java.lang.String key)GlobusGSSException(int majorCode, int minorCode, java.lang.String key, java.lang.Object[] args)GlobusGSSException(int majorCode, int minorCode, java.lang.String minorString, java.lang.Throwable cause)GlobusGSSException(int majorCode, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()voidprintStackTrace()Prints this exception's stack trace to System.err.voidprintStackTrace(java.io.PrintStream ps)Prints this exception's stack trace to a print stream.voidprintStackTrace(java.io.PrintWriter pw)Prints this exception's stack trace to a print writer.-
Methods inherited from class org.ietf.jgss.GSSException
getMajor, getMajorString, getMinor, getMinorString, setMinor, toString
-
-
-
-
Field Detail
-
PROXY_VIOLATION
public static final int PROXY_VIOLATION
- See Also:
- Constant Field Values
-
BAD_ARGUMENT
public static final int BAD_ARGUMENT
- See Also:
- Constant Field Values
-
BAD_NAME
public static final int BAD_NAME
- See Also:
- Constant Field Values
-
CREDENTIAL_ERROR
public static final int CREDENTIAL_ERROR
- See Also:
- Constant Field Values
-
TOKEN_FAIL
public static final int TOKEN_FAIL
- See Also:
- Constant Field Values
-
DELEGATION_ERROR
public static final int DELEGATION_ERROR
- See Also:
- Constant Field Values
-
BAD_MIC
public static final int BAD_MIC
- See Also:
- Constant Field Values
-
UNKNOWN_OPTION
public static final int UNKNOWN_OPTION
- See Also:
- Constant Field Values
-
BAD_OPTION_TYPE
public static final int BAD_OPTION_TYPE
- See Also:
- Constant Field Values
-
BAD_OPTION
public static final int BAD_OPTION
- See Also:
- Constant Field Values
-
UNKNOWN
public static final int UNKNOWN
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GlobusGSSException
public GlobusGSSException(int majorCode, java.lang.Throwable cause)
-
GlobusGSSException
public GlobusGSSException(int majorCode, int minorCode, java.lang.String minorString, java.lang.Throwable cause)
-
GlobusGSSException
public GlobusGSSException(int majorCode, int minorCode, java.lang.String key)
-
GlobusGSSException
public GlobusGSSException(int majorCode, int minorCode, java.lang.String key, java.lang.Object[] args)
-
-
Method Detail
-
printStackTrace
public void printStackTrace()
Prints this exception's stack trace to System.err. If this exception has a root exception; the stack trace of the root exception is printed to System.err instead.- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream ps)
Prints this exception's stack trace to a print stream. If this exception has a root exception; the stack trace of the root exception is printed to the print stream instead.- Overrides:
printStackTracein classjava.lang.Throwable- Parameters:
ps- The non-null print stream to which to print.
-
printStackTrace
public void printStackTrace(java.io.PrintWriter pw)
Prints this exception's stack trace to a print writer. If this exception has a root exception; the stack trace of the root exception is printed to the print writer instead.- Overrides:
printStackTracein classjava.lang.Throwable- Parameters:
pw- The non-null print writer to which to print.
-
getMessage
public java.lang.String getMessage()
- Overrides:
getMessagein classorg.ietf.jgss.GSSException
-
-