public class SSLFTPCertificateException extends SSLFTPException
cvsId| Constructor and Description |
|---|
SSLFTPCertificateException(java.lang.String msg)
Constructor.
|
SSLFTPCertificateException(java.lang.String msg,
java.util.Vector certificates)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Vector |
getCertificates()
Provides access to the
SSLFTPCertificates related to the exception. |
java.lang.String |
getMessage()
Returns the detail message string of this throwable.
|
void |
printCertificates()
Prints the certificates in PEM format to the standard error stream.
|
void |
printCertificates(java.io.PrintStream pStr)
Prints the certificates in PEM format to the given stream.
|
void |
printCertificates(java.io.PrintWriter pWriter)
Prints the certificates in PEM format to the given writer.
|
getReplyCode, toStringpublic SSLFTPCertificateException(java.lang.String msg)
msg - Detail message.public SSLFTPCertificateException(java.lang.String msg,
java.util.Vector certificates)
msg - Detail message.certificates - Certificates related to the error (Vector of SSLFTPCertificate or BouncyCastle Certificate objects).public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.util.Vector getCertificates()
SSLFTPCertificates related to the exception.Vector of SSLFTPCertificate objects.public void printCertificates()
public void printCertificates(java.io.PrintStream pStr)
pStr - Stream to write certificates to.public void printCertificates(java.io.PrintWriter pWriter)
pWriter - Writer to write certificates to.Copyright © 2001-2014 Enterprise Distributed Technologies Ltd. All Rights Reserved.