|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.admin.ads.TopologyCacheException
public class TopologyCacheException
This class represents the Exception that can occur while reading server configuration through the TopologyCache class.
Nested Class Summary | |
---|---|
static class |
TopologyCacheException.Type
Error type. |
Constructor Summary | |
---|---|
TopologyCacheException(ADSContextException ace)
Constructor for the exception that must be generated when an ADSContextException occurs. |
|
TopologyCacheException(TopologyCacheException.Type type,
javax.naming.NamingException ne,
ApplicationTrustManager trustManager,
java.lang.String ldapUrl)
Constructor for the exception that must be generated when a NamingException occurs. |
|
TopologyCacheException(TopologyCacheException.Type type,
java.lang.Throwable t)
Constructor for a generic Exception. |
Method Summary | |
---|---|
java.lang.String |
getHostPort()
Returns the host port representation of the server we where connected to (or trying to connect) when this exception was generated. |
java.lang.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. |
Methods inherited from class org.opends.server.types.OpenDsException |
---|
getMessageObject |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TopologyCacheException(ADSContextException ace)
ace
- the exception which is the cause of this exception.public TopologyCacheException(TopologyCacheException.Type type, java.lang.Throwable t)
type
- the type of this exception.t
- the cause of this exception.public TopologyCacheException(TopologyCacheException.Type type, javax.naming.NamingException ne, ApplicationTrustManager trustManager, java.lang.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.Method Detail |
---|
public TopologyCacheException.Type getType()
public java.lang.String getLdapUrl()
public java.lang.String getHostPort()
public ApplicationTrustManager getTrustManager()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |