Package org.forgerock.opendj.ldap
Class ProviderNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.opendj.ldap.ProviderNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a provider of a service can't be found.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProviderNotFoundException(Class<? extends Provider> providerClass, String providerName, String message) Creates the exception with a provider type, provider name and a message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of provider.Class<?> Returns the type of provider.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProviderNotFoundException
public ProviderNotFoundException(Class<? extends Provider> providerClass, String providerName, String message) Creates the exception with a provider type, provider name and a message.- Parameters:
providerClass- the provider classproviderName- the name of the provider implementation that was requestedmessage- the detail message
-
-
Method Details
-
getProviderType
Returns the type of provider.- Returns:
- the provider class
-
getProviderName
Returns the name of provider.- Returns:
- the name of the provider implementation that was requested, or null if the default provider was requested.
-