mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Yannick Lecaillez
25.09.2016 04450de5b9953136772cb2600eda73c221ab18a4
Add missing exception chaining on LDAPReader.
1 files modified
6 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPReader.java 6 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/ldap/LDAPReader.java
@@ -62,7 +62,7 @@
    catch(Exception e)
    {
      LocalizableMessage message = ERR_LDAP_MESSAGE_DECODE_NULL.get();
      throw new LDAPException(PROTOCOL_ERROR, message);
      throw new LDAPException(PROTOCOL_ERROR, message, e);
    }
    int messageID;
@@ -114,7 +114,7 @@
    catch(Exception e)
    {
      LocalizableMessage message = ERR_LDAP_MESSAGE_DECODE_NULL.get();
      throw new LDAPException(PROTOCOL_ERROR, message);
      throw new LDAPException(PROTOCOL_ERROR, message, e);
    }
    return new LDAPMessage(messageID, protocolOp, controls);
@@ -142,7 +142,7 @@
    catch(Exception e)
    {
      LocalizableMessage message = ERR_LDAP_PROTOCOL_OP_DECODE_NULL.get();
      throw new LDAPException(PROTOCOL_ERROR, message);
      throw new LDAPException(PROTOCOL_ERROR, message, e);
    }
    switch(type)