Class LdapRequestUnsuccessfulException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.directory.ldap.client.template.exception.LdapRequestUnsuccessfulException
-
- All Implemented Interfaces:
Serializable
public class LdapRequestUnsuccessfulException extends RuntimeException
An RuntimeException wrapper class that allows the user to choose to have unsuccessful responses thrown as exceptions rather than checking the response itself for process flow.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LdapRequestUnsuccessfulException(ResultResponse response)
Creates a new LdapRequestUnsuccessfulException instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultResponse
getResponse()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
LdapRequestUnsuccessfulException
public LdapRequestUnsuccessfulException(ResultResponse response)
Creates a new LdapRequestUnsuccessfulException instance- Parameters:
response
- The associated LDAP Response
-
-
Method Detail
-
getResponse
public ResultResponse getResponse()
- Returns:
- the associate LDAP Response
-
-