netapp.manage
Class NaCertificateException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjava.security.cert.CertificateException
                  extended bynetapp.manage.NaCertificateException
All Implemented Interfaces:
java.io.Serializable

public class NaCertificateException
extends java.security.cert.CertificateException

Indicates some kind of error detected during verifying the remote certificate chain. This class is used for internal purpose.

See Also:
Serialized Form

Constructor Summary
NaCertificateException(java.security.cert.X509Certificate[] chain, java.lang.String reason)
          Constructs a new NaCertificateException with the specified remote certificate chain and the reason message for verification failure.
 
Method Summary
 java.security.cert.X509Certificate[] getCertificateChain()
          Returns the chain of certificates that is sent by the peer.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NaCertificateException

public NaCertificateException(java.security.cert.X509Certificate[] chain,
                              java.lang.String reason)
Constructs a new NaCertificateException with the specified remote certificate chain and the reason message for verification failure.

Parameters:
chain - the remote certificate chain.
reason - the reason message.
Method Detail

getCertificateChain

public java.security.cert.X509Certificate[] getCertificateChain()
Returns the chain of certificates that is sent by the peer.

Returns:
The certificate chain.