Java Globus API: Class GlobusGSSException

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:
Serializable

public class GlobusGSSException
extends GSSException

See Also:
Serialized Form

Field Summary
static int BAD_ARGUMENT
           
static int BAD_MIC
           
static int BAD_NAME
           
static int BAD_OPTION
           
static int BAD_OPTION_TYPE
           
static int CREDENTIAL_ERROR
           
static int DELEGATION_ERROR
           
static int PROXY_VIOLATION
           
static int TOKEN_FAIL
           
static int UNKNOWN
           
static int UNKNOWN_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
GlobusGSSException(int majorCode, int minorCode, String key)
           
GlobusGSSException(int majorCode, int minorCode, String key, Object[] args)
           
GlobusGSSException(int majorCode, int minorCode, String minorString, Throwable exception)
           
GlobusGSSException(int majorCode, Throwable exception)
           
 
Method Summary
 String getMessage()
           
 void printStackTrace()
          Prints this exception's stack trace to System.err.
 void printStackTrace(PrintStream ps)
          Prints this exception's stack trace to a print stream.
 void printStackTrace(PrintWriter pw)
          Prints this exception's stack trace to a print writer.
 String toString()
          Returns the string representation of this exception.
 
Methods inherited from class org.ietf.jgss.GSSException
getMajor, getMajorString, getMinor, getMinorString, setMinor
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROXY_VIOLATION

public static final int PROXY_VIOLATION

BAD_ARGUMENT

public static final int BAD_ARGUMENT

BAD_NAME

public static final int BAD_NAME

CREDENTIAL_ERROR

public static final int CREDENTIAL_ERROR

TOKEN_FAIL

public static final int TOKEN_FAIL

DELEGATION_ERROR

public static final int DELEGATION_ERROR

BAD_MIC

public static final int BAD_MIC

UNKNOWN_OPTION

public static final int UNKNOWN_OPTION

BAD_OPTION_TYPE

public static final int BAD_OPTION_TYPE

BAD_OPTION

public static final int BAD_OPTION

UNKNOWN

public static final int UNKNOWN
Constructor Detail

GlobusGSSException

public GlobusGSSException(int majorCode,
                          Throwable exception)

GlobusGSSException

public GlobusGSSException(int majorCode,
                          int minorCode,
                          String minorString,
                          Throwable exception)

GlobusGSSException

public GlobusGSSException(int majorCode,
                          int minorCode,
                          String key)

GlobusGSSException

public GlobusGSSException(int majorCode,
                          int minorCode,
                          String key,
                          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:
printStackTrace in class Throwable

printStackTrace

public void printStackTrace(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:
printStackTrace in class Throwable
Parameters:
ps - The non-null print stream to which to print.

printStackTrace

public void printStackTrace(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:
printStackTrace in class Throwable
Parameters:
ps - The non-null print writer to which to print.

getMessage

public String getMessage()
Overrides:
getMessage in class GSSException

toString

public String toString()
Returns the string representation of this exception. The string representation contains this exception's class name, its detailed messsage, and if it has a root exception, the string representation of the root exception. This string representation is meant for debugging and not meant to be interpreted programmatically.
Overrides:
toString in class GSSException
Returns:
The non-null string representation of this exception.
See Also:
Throwable.getMessage()