org.ldaptive
Class OperationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.ldaptive.LdapException
              extended by org.ldaptive.OperationException
All Implemented Interfaces:
Serializable, Message<ResponseControl>, ResponseMessage

public class OperationException
extends LdapException

Exception thrown when an ldap operation attempt fails.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services
See Also:
Serialized Form

Constructor Summary
OperationException(Exception e)
          Creates a new operation exception.
OperationException(Exception e, ResultCode code)
          Creates a new operation exception.
OperationException(Exception e, ResultCode code, String dn)
          Creates a new operation exception.
OperationException(Exception e, ResultCode code, String dn, ResponseControl[] c)
          Creates a new operation exception.
OperationException(Exception e, ResultCode code, String dn, ResponseControl[] c, String[] urls)
          Creates a new operation exception.
OperationException(String msg)
          Creates a new operation exception.
OperationException(String msg, Exception e)
          Creates a new operation exception.
OperationException(String msg, Exception e, ResultCode code)
          Creates a new operation exception.
OperationException(String msg, Exception e, ResultCode code, String dn)
          Creates a new operation exception.
OperationException(String msg, Exception e, ResultCode code, String dn, ResponseControl[] c)
          Creates a new operation exception.
OperationException(String msg, Exception e, ResultCode code, String dn, ResponseControl[] c, String[] urls)
          Creates a new operation exception.
OperationException(String msg, ResultCode code)
          Creates a new operation exception.
OperationException(String msg, ResultCode code, String dn)
          Creates a new operation exception.
OperationException(String msg, ResultCode code, String dn, ResponseControl[] c)
          Creates a new operation exception.
OperationException(String msg, ResultCode code, String dn, ResponseControl[] c, String[] urls)
          Creates a new operation exception.
 
Method Summary
 
Methods inherited from class org.ldaptive.LdapException
getControl, getControls, getMatchedDn, getMessageId, getReferralURLs, getResultCode, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationException

public OperationException(String msg)
Creates a new operation exception.

Parameters:
msg - describing this exception

OperationException

public OperationException(String msg,
                          ResultCode code)
Creates a new operation exception.

Parameters:
msg - describing this exception
code - result code

OperationException

public OperationException(String msg,
                          ResultCode code,
                          String dn)
Creates a new operation exception.

Parameters:
msg - describing this exception
code - result code
dn - matched dn

OperationException

public OperationException(String msg,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c)
Creates a new operation exception.

Parameters:
msg - describing this exception
code - result code
dn - matched dn
c - response controls

OperationException

public OperationException(String msg,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c,
                          String[] urls)
Creates a new operation exception.

Parameters:
msg - describing this exception
code - result code
dn - matched dn
c - response controls
urls - referral urls

OperationException

public OperationException(Exception e)
Creates a new operation exception.

Parameters:
e - provider specific exception

OperationException

public OperationException(Exception e,
                          ResultCode code)
Creates a new operation exception.

Parameters:
e - provider specific exception
code - result code

OperationException

public OperationException(Exception e,
                          ResultCode code,
                          String dn)
Creates a new operation exception.

Parameters:
e - provider specific exception
code - result code
dn - matched dn

OperationException

public OperationException(Exception e,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c)
Creates a new operation exception.

Parameters:
e - provider specific exception
code - result code
dn - matched dn
c - response controls

OperationException

public OperationException(Exception e,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c,
                          String[] urls)
Creates a new operation exception.

Parameters:
e - provider specific exception
code - result code
dn - matched dn
c - response controls
urls - referral urls

OperationException

public OperationException(String msg,
                          Exception e)
Creates a new operation exception.

Parameters:
msg - describing this exception
e - provider specific exception

OperationException

public OperationException(String msg,
                          Exception e,
                          ResultCode code)
Creates a new operation exception.

Parameters:
msg - describing this exception
e - provider specific exception
code - result code

OperationException

public OperationException(String msg,
                          Exception e,
                          ResultCode code,
                          String dn)
Creates a new operation exception.

Parameters:
msg - describing this exception
e - provider specific exception
code - result code
dn - matched dn

OperationException

public OperationException(String msg,
                          Exception e,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c)
Creates a new operation exception.

Parameters:
msg - describing this exception
e - provider specific exception
code - result code
dn - matched dn
c - response controls

OperationException

public OperationException(String msg,
                          Exception e,
                          ResultCode code,
                          String dn,
                          ResponseControl[] c,
                          String[] urls)
Creates a new operation exception.

Parameters:
msg - describing this exception
e - provider specific exception
code - result code
dn - matched dn
c - response controls
urls - referral urls


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.