public class UserDataCertificateException extends UserDataException
| Modifier and Type | Class and Description |
|---|---|
static class |
UserDataCertificateException.Type
The enumeration for the different types of the exception.
|
| Constructor and Description |
|---|
UserDataCertificateException(WizardStep step,
LocalizableMessage message,
Throwable t,
String host,
int port,
X509Certificate[] chain,
String authType,
UserDataCertificateException.Type type)
Constructor for UserDataCertificateException.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthType()
Returns the auth type used when this certificate exception occurred.
|
X509Certificate[] |
getChain()
Returns the certificate chain received when this exception was generated.
|
String |
getHost()
Returns the host we tried to connect to when this exception was generated.
|
int |
getPort()
Returns the port we tried to connect to when this exception was generated.
|
UserDataCertificateException.Type |
getType()
Returns the type of exception.
|
getStepgetMessageObjectaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UserDataCertificateException(WizardStep step, LocalizableMessage message, Throwable t, String host, int port, X509Certificate[] chain, String authType, UserDataCertificateException.Type type)
step - the step in the wizard where the exception occurred.message - describing the error.t - the root cause for this exception.host - the host we tried to connect to.port - the port we tried to connect to.chain - the certificate chain.authType - the authentication type.type - the type of the exception.public String getHost()
public int getPort()
public String getAuthType()
public UserDataCertificateException.Type getType()
public X509Certificate[] getChain()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.