public class TopologyCacheException extends OpenDsException
Modifier and Type | Class and Description |
---|---|
static class |
TopologyCacheException.Type
Error type.
|
Constructor and Description |
---|
TopologyCacheException(TopologyCacheException.Type type,
org.forgerock.opendj.ldap.LdapException e,
ApplicationTrustManager trustManager,
HostPort ldapHostPort)
Constructor for the exception that must be generated when a LdapException occurs.
|
TopologyCacheException(TopologyCacheException.Type type,
Throwable t)
Constructor for a generic Exception.
|
Modifier and Type | Method and Description |
---|---|
LocalizableMessage |
buildMessage()
Gets a localized representation of the provided TopologyCacheException.
|
HostPort |
getHostPort()
Returns the host port representation of the server we where connected to (or trying to connect) when this
exception was generated.
|
ApplicationTrustManager |
getTrustManager()
Returns the ApplicationTrustManager that we were using when this exception was generated.
|
TopologyCacheException.Type |
getType()
Returns the type of this exception.
|
getMessageObject
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TopologyCacheException(TopologyCacheException.Type type, Throwable t)
type
- the type of this exception.t
- the cause of this exception.public TopologyCacheException(TopologyCacheException.Type type, org.forgerock.opendj.ldap.LdapException e, ApplicationTrustManager trustManager, HostPort ldapHostPort)
type
- the type of this exception.e
- the LdapException that generated this exception.trustManager
- the ApplicationTrustManager used when the LdapException occurred.ldapHostPort
- the LDAP HostPort of the server we where connected to (or trying to connect) when the LdapException
was generated.public TopologyCacheException.Type getType()
public HostPort getHostPort()
public ApplicationTrustManager getTrustManager()
public LocalizableMessage buildMessage()
Copyright © 2010–2017 ForgeRock AS. All rights reserved.