Java Globus API: Class ProxyPathValidatorException

org.globus.gsi.proxy
Class ProxyPathValidatorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.security.GeneralSecurityException
                    |
                    +--org.globus.common.ChainedGeneralSecurityException
                          |
                          +--org.globus.gsi.proxy.ProxyPathValidatorException
All Implemented Interfaces:
Serializable

public class ProxyPathValidatorException
extends ChainedGeneralSecurityException

See Also:
Serialized Form

Field Summary
static int FAILURE
           
static int PATH_LENGTH_EXCEEDED
           
static int PROXY_VIOLATION
           
static int UNKNOWN_CA
           
static int UNKNOWN_POLICY
           
static int UNSUPPORTED_EXTENSION
           
 
Constructor Summary
ProxyPathValidatorException(int errorCode)
           
ProxyPathValidatorException(int errorCode, Throwable root)
           
ProxyPathValidatorException(int errorCode, X509Certificate cert, String msg)
           
 
Method Summary
 X509Certificate getCertificate()
          Returns the certificate that was being validated when the exception was thrown.
 int getErrorCode()
           
 
Methods inherited from class org.globus.common.ChainedGeneralSecurityException
getException, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
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

FAILURE

public static final int FAILURE

PROXY_VIOLATION

public static final int PROXY_VIOLATION

UNSUPPORTED_EXTENSION

public static final int UNSUPPORTED_EXTENSION

PATH_LENGTH_EXCEEDED

public static final int PATH_LENGTH_EXCEEDED

UNKNOWN_CA

public static final int UNKNOWN_CA

UNKNOWN_POLICY

public static final int UNKNOWN_POLICY
Constructor Detail

ProxyPathValidatorException

public ProxyPathValidatorException(int errorCode)

ProxyPathValidatorException

public ProxyPathValidatorException(int errorCode,
                                   Throwable root)

ProxyPathValidatorException

public ProxyPathValidatorException(int errorCode,
                                   X509Certificate cert,
                                   String msg)
Method Detail

getErrorCode

public int getErrorCode()

getCertificate

public X509Certificate getCertificate()
Returns the certificate that was being validated when the exception was thrown.
Returns:
the Certificate that was being validated when the exception was thrown (or null if not specified)