|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.enterprisedt.net.ftp.FTPException
com.enterprisedt.net.ftp.ssl.SSLFTPException
com.enterprisedt.net.ftp.ssl.SSLFTPCertificateException
public class SSLFTPCertificateException
This exception is thrown when an error relating to SSL/TLS certificates occurs.
| Field Summary |
|---|
| Fields inherited from class com.enterprisedt.net.ftp.FTPException |
|---|
cvsId |
| Constructor Summary | |
|---|---|
SSLFTPCertificateException(java.lang.String msg)
Constructor. |
|
SSLFTPCertificateException(java.lang.String msg,
java.util.Vector certificates)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.enterprisedt.net.ftp.FTPException |
|---|
getReplyCode, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public 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.| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||