Package org.springframework.ldap.core
Class ObjectRetrievalException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.springframework.core.NestedRuntimeException
-
- org.springframework.ldap.NamingException
-
- org.springframework.ldap.core.ObjectRetrievalException
-
- All Implemented Interfaces:
java.io.Serializable
public class ObjectRetrievalException extends NamingException
Thrown by aContextMapperCallbackHandler
when it cannot retrieve an object from the givenBinding
.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ObjectRetrievalException(java.lang.String msg)
Create a new ObjectRetrievalException.ObjectRetrievalException(java.lang.String msg, java.lang.Throwable cause)
Create a new ObjectRetrievalException.
-
Method Summary
-
Methods inherited from class org.springframework.ldap.NamingException
getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj
-
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
-
-
-
-
Constructor Detail
-
ObjectRetrievalException
public ObjectRetrievalException(java.lang.String msg)
Create a new ObjectRetrievalException.- Parameters:
msg
- the detail message
-
ObjectRetrievalException
public ObjectRetrievalException(java.lang.String msg, java.lang.Throwable cause)
Create a new ObjectRetrievalException.- Parameters:
msg
- the detail messagecause
- the root cause (if any)
-
-