public class TopologyCacheException extends OpenDsException
Modifier and Type | Class and Description |
---|---|
static class |
TopologyCacheException.Type
Error type.
|
Constructor and Description |
---|
TopologyCacheException(ADSContextException ace)
Constructor for the exception that must be generated when an
ADSContextException occurs.
|
TopologyCacheException(TopologyCacheException.Type type,
NamingException ne,
ApplicationTrustManager trustManager,
String ldapUrl)
Constructor for the exception that must be generated when a
NamingException occurs.
|
TopologyCacheException(TopologyCacheException.Type type,
Throwable t)
Constructor for a generic Exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostPort()
Returns the host port representation of the server we where connected to
(or trying to connect) when this exception was generated.
|
String |
getLdapUrl()
Returns the LDAP URL 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(ADSContextException ace)
ace
- the exception which is the cause of this exception.public TopologyCacheException(TopologyCacheException.Type type, Throwable t)
type
- the type of this exception.t
- the cause of this exception.public TopologyCacheException(TopologyCacheException.Type type, NamingException ne, ApplicationTrustManager trustManager, String ldapUrl)
type
- the type of this exception.ne
- the NamingException that generated this exception.trustManager
- the ApplicationTrustManager used when the
NamingException occurred.ldapUrl
- the LDAP URL of the server we where connected to (or trying
to connect) when the NamingException was generated.public TopologyCacheException.Type getType()
public String getLdapUrl()
public String getHostPort()
public ApplicationTrustManager getTrustManager()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.