Add missing exception chaining on LDAPReader.
| | |
| | | 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; |
| | |
| | | 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); |
| | |
| | | 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) |