directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1485649 [1/2] - in /directory/shared/trunk: dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/ dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api...
Date Thu, 23 May 2013 11:30:17 GMT
Author: elecharny
Date: Thu May 23 11:30:16 2013
New Revision: 1485649

URL: http://svn.apache.org/r1485649
Log:
Fixed Sonar warnings

Modified:
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/AbstractDsmlMessageDecorator.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AbandonRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AddRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/BindRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/CompareRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/DelRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ExtendedRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyDNRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyRequestDsml.java
    directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/SearchRequestDsml.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/ExtendedRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/MessageDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AbandonRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AddRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/BindRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/CompareRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/DeleteRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyDnRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/SearchRequestDecorator.java
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/UnbindRequestDecorator.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/Message.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequestImpl.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequest.java
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/UnbindRequestImpl.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/AddRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/BindRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/CompareRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/DeleteRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ExtendedResponseImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/ModifyRequestImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseDoneImplTest.java
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/api/ldap/model/message/SearchResponseReferenceImplTest.java

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/AbstractDsmlMessageDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/AbstractDsmlMessageDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/AbstractDsmlMessageDecorator.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/AbstractDsmlMessageDecorator.java Thu May 23 11:30:16 2013
@@ -24,7 +24,6 @@ import java.util.HashMap;
 import java.util.Map;
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.Message;
 import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
@@ -126,7 +125,7 @@ public abstract class AbstractDsmlMessag
     /**
      * {@inheritDoc}
      */
-    public Message addControl( Control control ) throws MessageException
+    public Message addControl( Control control )
     {
         Control decorated;
         DsmlControl<? extends Control> decorator;
@@ -153,7 +152,7 @@ public abstract class AbstractDsmlMessag
     /**
      * {@inheritDoc}
      */
-    public Message addAllControls( Control[] controls ) throws MessageException
+    public Message addAllControls( Control[] controls )
     {
         for ( Control control : controls )
         {
@@ -167,7 +166,7 @@ public abstract class AbstractDsmlMessag
     /**
      * {@inheritDoc}
      */
-    public Message removeControl( Control control ) throws MessageException
+    public Message removeControl( Control control )
     {
         controls.remove( control.getOid() );
         message.removeControl( control );

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AbandonRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AbandonRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AbandonRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AbandonRequestDsml.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.dsmlv2.
 
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.AbandonRequest;
 import org.apache.directory.api.ldap.model.message.AbandonRequestImpl;
 import org.apache.directory.api.ldap.model.message.Control;
@@ -141,7 +140,7 @@ public class AbandonRequestDsml extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addControl( Control control ) throws MessageException
+    public AbandonRequest addControl( Control control )
     {
         return ( AbandonRequest ) super.addControl( control );
     }
@@ -150,7 +149,7 @@ public class AbandonRequestDsml extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addAllControls( Control[] controls ) throws MessageException
+    public AbandonRequest addAllControls( Control[] controls )
     {
         return ( AbandonRequest ) super.addAllControls( controls );
     }
@@ -159,7 +158,7 @@ public class AbandonRequestDsml extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest removeControl( Control control ) throws MessageException
+    public AbandonRequest removeControl( Control control )
     {
         return ( AbandonRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AddRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AddRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AddRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/AddRequestDsml.java Thu May 23 11:30:16 2013
@@ -27,7 +27,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.Entry;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.AddRequest;
 import org.apache.directory.api.ldap.model.message.AddRequestImpl;
 import org.apache.directory.api.ldap.model.message.AddResponse;
@@ -281,7 +280,7 @@ public class AddRequestDsml
     /**
      * {@inheritDoc}
      */
-    public AddRequest addControl( Control control ) throws MessageException
+    public AddRequest addControl( Control control )
     {
         return ( AddRequest ) super.addControl( control );
     }
@@ -290,7 +289,7 @@ public class AddRequestDsml
     /**
      * {@inheritDoc}
      */
-    public AddRequest addAllControls( Control[] controls ) throws MessageException
+    public AddRequest addAllControls( Control[] controls )
     {
         return ( AddRequest ) super.addAllControls( controls );
     }
@@ -299,7 +298,7 @@ public class AddRequestDsml
     /**
      * {@inheritDoc}
      */
-    public AddRequest removeControl( Control control ) throws MessageException
+    public AddRequest removeControl( Control control )
     {
         return ( AddRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/BindRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/BindRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/BindRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/BindRequestDsml.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.dsmlv2.
 
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.BindRequest;
 import org.apache.directory.api.ldap.model.message.BindRequestImpl;
 import org.apache.directory.api.ldap.model.message.BindResponse;
@@ -76,7 +75,7 @@ public class BindRequestDsml
     {
         Element element = super.toDsml( root );
 
-        BindRequest request = ( BindRequest ) getDecorated();
+        BindRequest request = getDecorated();
 
         // Principal
         Dn dn = request.getDn();
@@ -272,7 +271,7 @@ public class BindRequestDsml
     /**
      * {@inheritDoc}
      */
-    public BindRequest addControl( Control control ) throws MessageException
+    public BindRequest addControl( Control control )
     {
         return ( BindRequest ) super.addControl( control );
     }
@@ -281,7 +280,7 @@ public class BindRequestDsml
     /**
      * {@inheritDoc}
      */
-    public BindRequest addAllControls( Control[] controls ) throws MessageException
+    public BindRequest addAllControls( Control[] controls )
     {
         return ( BindRequest ) super.addAllControls( controls );
     }
@@ -290,7 +289,7 @@ public class BindRequestDsml
     /**
      * {@inheritDoc}
      */
-    public BindRequest removeControl( Control control ) throws MessageException
+    public BindRequest removeControl( Control control )
     {
         return ( BindRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/CompareRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/CompareRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/CompareRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/CompareRequestDsml.java Thu May 23 11:30:16 2013
@@ -22,7 +22,6 @@ package org.apache.directory.api.dsmlv2.
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.model.entry.Value;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.CompareRequest;
 import org.apache.directory.api.ldap.model.message.CompareRequestImpl;
 import org.apache.directory.api.ldap.model.message.CompareResponse;
@@ -78,7 +77,7 @@ public class CompareRequestDsml
     {
         Element element = super.toDsml( root );
 
-        CompareRequest request = ( CompareRequest ) getDecorated();
+        CompareRequest request = getDecorated();
 
         // Dn
         if ( request.getName() != null )
@@ -239,7 +238,7 @@ public class CompareRequestDsml
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addControl( Control control ) throws MessageException
+    public CompareRequest addControl( Control control )
     {
         return ( CompareRequest ) super.addControl( control );
     }
@@ -248,7 +247,7 @@ public class CompareRequestDsml
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addAllControls( Control[] controls ) throws MessageException
+    public CompareRequest addAllControls( Control[] controls )
     {
         return ( CompareRequest ) super.addAllControls( controls );
     }
@@ -257,7 +256,7 @@ public class CompareRequestDsml
     /**
      * {@inheritDoc}
      */
-    public CompareRequest removeControl( Control control ) throws MessageException
+    public CompareRequest removeControl( Control control )
     {
         return ( CompareRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/DelRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/DelRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/DelRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/DelRequestDsml.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.dsmlv2.
 
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.DeleteRequest;
 import org.apache.directory.api.ldap.model.message.DeleteRequestImpl;
@@ -152,7 +151,7 @@ public class DelRequestDsml
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addControl( Control control ) throws MessageException
+    public DeleteRequest addControl( Control control )
     {
         return ( DeleteRequest ) super.addControl( control );
     }
@@ -161,7 +160,7 @@ public class DelRequestDsml
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addAllControls( Control[] controls ) throws MessageException
+    public DeleteRequest addAllControls( Control[] controls )
     {
         return ( DeleteRequest ) super.addAllControls( controls );
     }
@@ -170,7 +169,7 @@ public class DelRequestDsml
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest removeControl( Control control ) throws MessageException
+    public DeleteRequest removeControl( Control control )
     {
         return ( DeleteRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ExtendedRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ExtendedRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ExtendedRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ExtendedRequestDsml.java Thu May 23 11:30:16 2013
@@ -23,7 +23,6 @@ package org.apache.directory.api.dsmlv2.
 import org.apache.directory.api.asn1.util.Oid;
 import org.apache.directory.api.dsmlv2.ParserUtils;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.ExtendedRequest;
 import org.apache.directory.api.ldap.model.message.ExtendedResponse;
@@ -174,7 +173,7 @@ public class ExtendedRequestDsml<Q exten
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> addControl( Control control ) throws MessageException
+    public ExtendedRequest<P> addControl( Control control )
     {
         return ( ExtendedRequest<P> ) super.addControl( control );
     }
@@ -184,7 +183,7 @@ public class ExtendedRequestDsml<Q exten
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> addAllControls( Control[] controls ) throws MessageException
+    public ExtendedRequest<P> addAllControls( Control[] controls )
     {
         return ( ExtendedRequest<P> ) super.addAllControls( controls );
     }
@@ -194,7 +193,7 @@ public class ExtendedRequestDsml<Q exten
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> removeControl( Control control ) throws MessageException
+    public ExtendedRequest<P> removeControl( Control control )
     {
         return ( ExtendedRequest<P> ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyDNRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyDNRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyDNRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyDNRequestDsml.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.dsmlv2.
 
 
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.message.ModifyDnRequest;
@@ -78,7 +77,7 @@ public class ModifyDNRequestDsml
     {
         Element element = super.toDsml( root );
 
-        ModifyDnRequest request = ( ModifyDnRequest ) getDecorated();
+        ModifyDnRequest request = getDecorated();
 
         // Dn
         if ( request.getName() != null )
@@ -278,7 +277,7 @@ public class ModifyDNRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addControl( Control control ) throws MessageException
+    public ModifyDnRequest addControl( Control control )
     {
         return ( ModifyDnRequest ) super.addControl( control );
     }
@@ -287,7 +286,7 @@ public class ModifyDNRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyDnRequest addAllControls( Control[] controls )
     {
         return ( ModifyDnRequest ) super.addAllControls( controls );
     }
@@ -296,7 +295,7 @@ public class ModifyDNRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest removeControl( Control control ) throws MessageException
+    public ModifyDnRequest removeControl( Control control )
     {
         return ( ModifyDnRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/ModifyRequestDsml.java Thu May 23 11:30:16 2013
@@ -31,7 +31,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.ModificationOperation;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.MessageTypeEnum;
 import org.apache.directory.api.ldap.model.message.ModifyRequest;
@@ -144,7 +143,7 @@ public class ModifyRequestDsml
     {
         Element element = super.toDsml( root );
 
-        ModifyRequest request = ( ModifyRequest ) getDecorated();
+        ModifyRequest request = getDecorated();
 
         // Dn
         if ( request.getName() != null )
@@ -406,7 +405,7 @@ public class ModifyRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addControl( Control control ) throws MessageException
+    public ModifyRequest addControl( Control control )
     {
         return ( ModifyRequest ) super.addControl( control );
     }
@@ -415,7 +414,7 @@ public class ModifyRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyRequest addAllControls( Control[] controls )
     {
         return ( ModifyRequest ) super.addAllControls( controls );
     }
@@ -424,7 +423,7 @@ public class ModifyRequestDsml
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest removeControl( Control control ) throws MessageException
+    public ModifyRequest removeControl( Control control )
     {
         return ( ModifyRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/SearchRequestDsml.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/SearchRequestDsml.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/SearchRequestDsml.java (original)
+++ directory/shared/trunk/dsml/parser/src/main/java/org/apache/directory/api/dsmlv2/request/SearchRequestDsml.java Thu May 23 11:30:16 2013
@@ -29,7 +29,6 @@ import org.apache.directory.api.ldap.cod
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.filter.AndNode;
 import org.apache.directory.api.ldap.model.filter.ApproximateNode;
 import org.apache.directory.api.ldap.model.filter.BranchNode;
@@ -803,7 +802,7 @@ public class SearchRequestDsml
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addControl( Control control ) throws MessageException
+    public SearchRequest addControl( Control control )
     {
         return ( SearchRequest ) super.addControl( control );
     }
@@ -812,7 +811,7 @@ public class SearchRequestDsml
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addAllControls( Control[] controls ) throws MessageException
+    public SearchRequest addAllControls( Control[] controls )
     {
         return ( SearchRequest ) super.addAllControls( controls );
     }
@@ -821,7 +820,7 @@ public class SearchRequestDsml
     /**
      * {@inheritDoc}
      */
-    public SearchRequest removeControl( Control control ) throws MessageException
+    public SearchRequest removeControl( Control control )
     {
         return ( SearchRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/ExtendedRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/ExtendedRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/ExtendedRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/ExtendedRequestDecorator.java Thu May 23 11:30:16 2013
@@ -27,7 +27,6 @@ import org.apache.directory.api.asn1.Enc
 import org.apache.directory.api.asn1.ber.tlv.TLV;
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.decorators.SingleReplyRequestDecorator;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.ExtendedRequest;
 import org.apache.directory.api.ldap.model.message.ExtendedResponse;
@@ -161,7 +160,7 @@ public class ExtendedRequestDecorator<Q 
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> addControl( Control control ) throws MessageException
+    public ExtendedRequest<P> addControl( Control control )
     {
         return ( ExtendedRequest<P> ) super.addControl( control );
     }
@@ -171,7 +170,7 @@ public class ExtendedRequestDecorator<Q 
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> addAllControls( Control[] controls ) throws MessageException
+    public ExtendedRequest<P> addAllControls( Control[] controls )
     {
         return ( ExtendedRequest<P> ) super.addAllControls( controls );
     }
@@ -181,7 +180,7 @@ public class ExtendedRequestDecorator<Q 
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<P> removeControl( Control control ) throws MessageException
+    public ExtendedRequest<P> removeControl( Control control )
     {
         return ( ExtendedRequest<P> ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/MessageDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/MessageDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/MessageDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/MessageDecorator.java Thu May 23 11:30:16 2013
@@ -42,7 +42,6 @@ import org.apache.directory.api.ldap.cod
 import org.apache.directory.api.ldap.codec.decorators.SearchResultEntryDecorator;
 import org.apache.directory.api.ldap.codec.decorators.SearchResultReferenceDecorator;
 import org.apache.directory.api.ldap.codec.decorators.UnbindRequestDecorator;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.AbandonRequest;
 import org.apache.directory.api.ldap.model.message.AddRequest;
 import org.apache.directory.api.ldap.model.message.AddResponse;
@@ -311,7 +310,7 @@ public abstract class MessageDecorator<E
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public Message addControl( Control control ) throws MessageException
+    public Message addControl( Control control )
     {
         Control decorated;
         CodecControl<? extends Control> controlDecorator;
@@ -338,7 +337,7 @@ public abstract class MessageDecorator<E
     /**
      * {@inheritDoc}
      */
-    public Message addAllControls( Control[] controls ) throws MessageException
+    public Message addAllControls( Control[] controls )
     {
         for ( Control control : controls )
         {
@@ -352,7 +351,7 @@ public abstract class MessageDecorator<E
     /**
      * {@inheritDoc}
      */
-    public Message removeControl( Control control ) throws MessageException
+    public Message removeControl( Control control )
     {
         decoratedMessage.removeControl( control );
         controls.remove( control.getOid() );

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AbandonRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AbandonRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AbandonRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AbandonRequestDecorator.java Thu May 23 11:30:16 2013
@@ -28,7 +28,6 @@ import org.apache.directory.api.asn1.ber
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.AbandonRequest;
 import org.apache.directory.api.ldap.model.message.Control;
 
@@ -90,7 +89,7 @@ public final class AbandonRequestDecorat
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addControl( Control control ) throws MessageException
+    public AbandonRequest addControl( Control control )
     {
         return ( AbandonRequest ) super.addControl( control );
     }
@@ -99,7 +98,7 @@ public final class AbandonRequestDecorat
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addAllControls( Control[] controls ) throws MessageException
+    public AbandonRequest addAllControls( Control[] controls )
     {
         return ( AbandonRequest ) super.addAllControls( controls );
     }
@@ -108,7 +107,7 @@ public final class AbandonRequestDecorat
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest removeControl( Control control ) throws MessageException
+    public AbandonRequest removeControl( Control control )
     {
         return ( AbandonRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AddRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AddRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AddRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/AddRequestDecorator.java Thu May 23 11:30:16 2013
@@ -37,7 +37,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.Entry;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.AddRequest;
 import org.apache.directory.api.ldap.model.message.AddResponse;
 import org.apache.directory.api.ldap.model.message.Control;
@@ -70,7 +69,7 @@ public final class AddRequestDecorator e
 
     /** The current attribute being decoded */
     private Attribute currentAttribute;
-    
+
     /** The bytes containing the Dn */
     private byte[] dnBytes;
 
@@ -176,7 +175,7 @@ public final class AddRequestDecorator e
     /**
      * {@inheritDoc}
      */
-    public AddRequest addControl( Control control ) throws MessageException
+    public AddRequest addControl( Control control )
     {
         return ( AddRequest ) super.addControl( control );
     }
@@ -185,7 +184,7 @@ public final class AddRequestDecorator e
     /**
      * {@inheritDoc}
      */
-    public AddRequest addAllControls( Control[] controls ) throws MessageException
+    public AddRequest addAllControls( Control[] controls )
     {
         return ( AddRequest ) super.addAllControls( controls );
     }
@@ -194,7 +193,7 @@ public final class AddRequestDecorator e
     /**
      * {@inheritDoc}
      */
-    public AddRequest removeControl( Control control ) throws MessageException
+    public AddRequest removeControl( Control control )
     {
         return ( AddRequest ) super.removeControl( control );
     }
@@ -360,7 +359,7 @@ public final class AddRequestDecorator e
 
         dnBytes = Strings.getBytesUtf8( entry.getDn().getName() );
         int dnLen = dnBytes.length;
-        
+
         // The entry Dn
         int addRequestLength = 1 + TLV.getNbBytes( dnLen ) + dnLen;
 

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/BindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/BindRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/BindRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/BindRequestDecorator.java Thu May 23 11:30:16 2013
@@ -29,7 +29,6 @@ import org.apache.directory.api.asn1.ber
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.BindRequest;
 import org.apache.directory.api.ldap.model.message.BindResponse;
 import org.apache.directory.api.ldap.model.message.Control;
@@ -53,13 +52,13 @@ public class BindRequestDecorator extend
 
     /** The SASL credentials length */
     private int saslCredentialsLength;
-    
+
     /** The bytes containing the Dn */
     private byte[] dnBytes;
-    
+
     /** The bytes containing the Name */
     private byte[] nameBytes;
-    
+
     /** The bytes containing the SaslMechanism */
     private byte[] mechanismBytes;
 
@@ -146,7 +145,7 @@ public class BindRequestDecorator extend
     /**
      * {@inheritDoc}
      */
-    public BindRequest addControl( Control control ) throws MessageException
+    public BindRequest addControl( Control control )
     {
         return ( BindRequest ) super.addControl( control );
     }
@@ -155,7 +154,7 @@ public class BindRequestDecorator extend
     /**
      * {@inheritDoc}
      */
-    public BindRequest addAllControls( Control[] controls ) throws MessageException
+    public BindRequest addAllControls( Control[] controls )
     {
         return ( BindRequest ) super.addAllControls( controls );
     }
@@ -164,7 +163,7 @@ public class BindRequestDecorator extend
     /**
      * {@inheritDoc}
      */
-    public BindRequest removeControl( Control control ) throws MessageException
+    public BindRequest removeControl( Control control )
     {
         return ( BindRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/CompareRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/CompareRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/CompareRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/CompareRequestDecorator.java Thu May 23 11:30:16 2013
@@ -32,7 +32,6 @@ import org.apache.directory.api.ldap.cod
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
 import org.apache.directory.api.ldap.model.entry.BinaryValue;
 import org.apache.directory.api.ldap.model.entry.Value;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.CompareRequest;
 import org.apache.directory.api.ldap.model.message.CompareResponse;
 import org.apache.directory.api.ldap.model.message.Control;
@@ -243,7 +242,7 @@ public class CompareRequestDecorator ext
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addControl( Control control ) throws MessageException
+    public CompareRequest addControl( Control control )
     {
         return ( CompareRequest ) super.addControl( control );
     }
@@ -252,7 +251,7 @@ public class CompareRequestDecorator ext
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addAllControls( Control[] controls ) throws MessageException
+    public CompareRequest addAllControls( Control[] controls )
     {
         return ( CompareRequest ) super.addAllControls( controls );
     }
@@ -261,7 +260,7 @@ public class CompareRequestDecorator ext
     /**
      * {@inheritDoc}
      */
-    public CompareRequest removeControl( Control control ) throws MessageException
+    public CompareRequest removeControl( Control control )
     {
         return ( CompareRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/DeleteRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/DeleteRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/DeleteRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/DeleteRequestDecorator.java Thu May 23 11:30:16 2013
@@ -28,7 +28,6 @@ import org.apache.directory.api.asn1.ber
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.DeleteRequest;
 import org.apache.directory.api.ldap.model.message.DeleteResponse;
@@ -44,10 +43,11 @@ import org.apache.directory.api.util.Str
 public class DeleteRequestDecorator extends SingleReplyRequestDecorator<DeleteRequest, DeleteResponse>
     implements DeleteRequest
 {
-    
+
     /** The bytes containing the Dn */
     private byte[] dnBytes;
 
+
     /**
      * Makes a DeleteRequest a MessageDecorator.
      *
@@ -97,7 +97,7 @@ public class DeleteRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addControl( Control control ) throws MessageException
+    public DeleteRequest addControl( Control control )
     {
         return ( DeleteRequest ) super.addControl( control );
     }
@@ -106,7 +106,7 @@ public class DeleteRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addAllControls( Control[] controls ) throws MessageException
+    public DeleteRequest addAllControls( Control[] controls )
     {
         return ( DeleteRequest ) super.addAllControls( controls );
     }
@@ -115,7 +115,7 @@ public class DeleteRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest removeControl( Control control ) throws MessageException
+    public DeleteRequest removeControl( Control control )
     {
         return ( DeleteRequest ) super.removeControl( control );
     }
@@ -137,7 +137,7 @@ public class DeleteRequestDecorator exte
     {
         dnBytes = Strings.getBytesUtf8( getName().getName() );
         int dnLength = dnBytes.length;
-        
+
         // The entry
         return 1 + TLV.getNbBytes( dnLength ) + dnLength;
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyDnRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyDnRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyDnRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyDnRequestDecorator.java Thu May 23 11:30:16 2013
@@ -29,7 +29,6 @@ import org.apache.directory.api.asn1.ber
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.ModifyDnRequest;
 import org.apache.directory.api.ldap.model.message.ModifyDnResponse;
@@ -187,7 +186,7 @@ public class ModifyDnRequestDecorator ex
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addControl( Control control ) throws MessageException
+    public ModifyDnRequest addControl( Control control )
     {
         return ( ModifyDnRequest ) super.addControl( control );
     }
@@ -196,7 +195,7 @@ public class ModifyDnRequestDecorator ex
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyDnRequest addAllControls( Control[] controls )
     {
         return ( ModifyDnRequest ) super.addAllControls( controls );
     }
@@ -205,7 +204,7 @@ public class ModifyDnRequestDecorator ex
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest removeControl( Control control ) throws MessageException
+    public ModifyDnRequest removeControl( Control control )
     {
         return ( ModifyDnRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/ModifyRequestDecorator.java Thu May 23 11:30:16 2013
@@ -39,7 +39,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.Modification;
 import org.apache.directory.api.ldap.model.entry.ModificationOperation;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.ModifyRequest;
 import org.apache.directory.api.ldap.model.message.ModifyResponse;
@@ -423,7 +422,7 @@ public class ModifyRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addControl( Control control ) throws MessageException
+    public ModifyRequest addControl( Control control )
     {
         return ( ModifyRequest ) super.addControl( control );
     }
@@ -432,7 +431,7 @@ public class ModifyRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyRequest addAllControls( Control[] controls )
     {
         return ( ModifyRequest ) super.addAllControls( controls );
     }
@@ -441,7 +440,7 @@ public class ModifyRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest removeControl( Control control ) throws MessageException
+    public ModifyRequest removeControl( Control control )
     {
         return ( ModifyRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/SearchRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/SearchRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/SearchRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/SearchRequestDecorator.java Thu May 23 11:30:16 2013
@@ -48,7 +48,6 @@ import org.apache.directory.api.ldap.cod
 import org.apache.directory.api.ldap.codec.search.SubstringFilter;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.filter.AndNode;
 import org.apache.directory.api.ldap.model.filter.ApproximateNode;
 import org.apache.directory.api.ldap.model.filter.BranchNode;
@@ -1106,7 +1105,7 @@ public class SearchRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addControl( Control control ) throws MessageException
+    public SearchRequest addControl( Control control )
     {
         return ( SearchRequest ) super.addControl( control );
     }
@@ -1115,7 +1114,7 @@ public class SearchRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public SearchRequest addAllControls( Control[] controls ) throws MessageException
+    public SearchRequest addAllControls( Control[] controls )
     {
         return ( SearchRequest ) super.addAllControls( controls );
     }
@@ -1124,7 +1123,7 @@ public class SearchRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public SearchRequest removeControl( Control control ) throws MessageException
+    public SearchRequest removeControl( Control control )
     {
         return ( SearchRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/UnbindRequestDecorator.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/UnbindRequestDecorator.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/UnbindRequestDecorator.java (original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/decorators/UnbindRequestDecorator.java Thu May 23 11:30:16 2013
@@ -27,7 +27,6 @@ import org.apache.directory.api.asn1.Enc
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.codec.api.LdapApiService;
 import org.apache.directory.api.ldap.codec.api.LdapConstants;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.message.Control;
 import org.apache.directory.api.ldap.model.message.UnbindRequest;
 
@@ -64,7 +63,7 @@ public class UnbindRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest addControl( Control control ) throws MessageException
+    public UnbindRequest addControl( Control control )
     {
         return ( UnbindRequest ) super.addControl( control );
     }
@@ -73,7 +72,7 @@ public class UnbindRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest addAllControls( Control[] controls ) throws MessageException
+    public UnbindRequest addAllControls( Control[] controls )
     {
         return ( UnbindRequest ) super.addAllControls( controls );
     }
@@ -82,7 +81,7 @@ public class UnbindRequestDecorator exte
     /**
      * {@inheritDoc}
      */
-    public UnbindRequest removeControl( Control control ) throws MessageException
+    public UnbindRequest removeControl( Control control )
     {
         return ( UnbindRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbandonRequestImpl.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.ldap.mo
 
 
 import org.apache.directory.api.i18n.I18n;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 
 
 /**
@@ -102,7 +101,7 @@ public class AbandonRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addControl( Control control ) throws MessageException
+    public AbandonRequest addControl( Control control )
     {
         return ( AbandonRequest ) super.addControl( control );
     }
@@ -111,7 +110,7 @@ public class AbandonRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest addAllControls( Control[] controls ) throws MessageException
+    public AbandonRequest addAllControls( Control[] controls )
     {
         return ( AbandonRequest ) super.addAllControls( controls );
     }
@@ -120,7 +119,7 @@ public class AbandonRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public AbandonRequest removeControl( Control control ) throws MessageException
+    public AbandonRequest removeControl( Control control )
     {
         return ( AbandonRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractExtendedRequest.java Thu May 23 11:30:16 2013
@@ -20,9 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
-
 /**
  * ExtendedRequest implementation.
  * 
@@ -106,7 +103,7 @@ public abstract class AbstractExtendedRe
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<R> addControl( Control control ) throws MessageException
+    public ExtendedRequest<R> addControl( Control control )
     {
         return ( ExtendedRequest<R> ) super.addControl( control );
     }
@@ -116,7 +113,7 @@ public abstract class AbstractExtendedRe
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<R> addAllControls( Control[] controls ) throws MessageException
+    public ExtendedRequest<R> addAllControls( Control[] controls )
     {
         return ( ExtendedRequest<R> ) super.addAllControls( controls );
     }
@@ -126,7 +123,7 @@ public abstract class AbstractExtendedRe
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<R> removeControl( Control control ) throws MessageException
+    public ExtendedRequest<R> removeControl( Control control )
     {
         return ( ExtendedRequest<R> ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractMessage.java Thu May 23 11:30:16 2013
@@ -24,8 +24,6 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
 
 /**
  * Abstract message base class.
@@ -117,7 +115,7 @@ public abstract class AbstractMessage im
     /**
      * {@inheritDoc}
      */
-    public Message addControl( Control control ) throws MessageException
+    public Message addControl( Control control )
     {
         controls.put( control.getOid(), control );
 
@@ -129,10 +127,8 @@ public abstract class AbstractMessage im
      * Deletes a control removing it from this Message.
      * 
      * @param control the control to remove.
-     * @throws MessageException if controls cannot be added to this Message or the control is
-     *             not known etc.
      */
-    public Message removeControl( Control control ) throws MessageException
+    public Message removeControl( Control control )
     {
         controls.remove( control.getOid() );
 
@@ -257,7 +253,7 @@ public abstract class AbstractMessage im
     /**
      * {@inheritDoc}
      */
-    public Message addAllControls( Control[] controls ) throws MessageException
+    public Message addAllControls( Control[] controls )
     {
         for ( Control c : controls )
         {

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequest.java Thu May 23 11:30:16 2013
@@ -22,7 +22,6 @@ package org.apache.directory.api.ldap.mo
 
 
 import org.apache.directory.api.ldap.model.entry.Entry;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -83,17 +82,17 @@ public interface AddRequest extends Sing
     /**
      * {@inheritDoc}
      */
-    AddRequest addControl( Control control ) throws MessageException;
+    AddRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    AddRequest addAllControls( Control[] controls ) throws MessageException;
+    AddRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    AddRequest removeControl( Control control ) throws MessageException;
+    AddRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AddRequestImpl.java Thu May 23 11:30:16 2013
@@ -26,7 +26,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.Entry;
 import org.apache.directory.api.ldap.model.entry.Value;
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -184,7 +183,7 @@ public class AddRequestImpl extends Abst
     /**
      * {@inheritDoc}
      */
-    public AddRequest addControl( Control control ) throws MessageException
+    public AddRequest addControl( Control control )
     {
         return ( AddRequest ) super.addControl( control );
     }
@@ -193,7 +192,7 @@ public class AddRequestImpl extends Abst
     /**
      * {@inheritDoc}
      */
-    public AddRequest addAllControls( Control[] controls ) throws MessageException
+    public AddRequest addAllControls( Control[] controls )
     {
         return ( AddRequest ) super.addAllControls( controls );
     }
@@ -202,7 +201,7 @@ public class AddRequestImpl extends Abst
     /**
      * {@inheritDoc}
      */
-    public AddRequest removeControl( Control control ) throws MessageException
+    public AddRequest removeControl( Control control )
     {
         return ( AddRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequest.java Thu May 23 11:30:16 2013
@@ -20,7 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -218,17 +217,17 @@ public interface BindRequest extends Sin
     /**
      * {@inheritDoc}
      */
-    BindRequest addControl( Control control ) throws MessageException;
+    BindRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    BindRequest addAllControls( Control[] controls ) throws MessageException;
+    BindRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    BindRequest removeControl( Control control ) throws MessageException;
+    BindRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/BindRequestImpl.java Thu May 23 11:30:16 2013
@@ -24,7 +24,6 @@ import java.util.Arrays;
 
 import org.apache.directory.api.i18n.I18n;
 import org.apache.directory.api.ldap.model.exception.LdapInvalidDnException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.util.Strings;
 import org.slf4j.Logger;
@@ -287,7 +286,7 @@ public class BindRequestImpl extends Abs
     /**
      * {@inheritDoc}
      */
-    public BindRequest addControl( Control control ) throws MessageException
+    public BindRequest addControl( Control control )
     {
         return ( BindRequest ) super.addControl( control );
     }
@@ -296,7 +295,7 @@ public class BindRequestImpl extends Abs
     /**
      * {@inheritDoc}
      */
-    public BindRequest addAllControls( Control[] controls ) throws MessageException
+    public BindRequest addAllControls( Control[] controls )
     {
         return ( BindRequest ) super.addAllControls( controls );
     }
@@ -305,7 +304,7 @@ public class BindRequestImpl extends Abs
     /**
      * {@inheritDoc}
      */
-    public BindRequest removeControl( Control control ) throws MessageException
+    public BindRequest removeControl( Control control )
     {
         return ( BindRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequest.java Thu May 23 11:30:16 2013
@@ -21,7 +21,6 @@ package org.apache.directory.api.ldap.mo
 
 
 import org.apache.directory.api.ldap.model.entry.Value;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -111,17 +110,17 @@ public interface CompareRequest extends 
     /**
      * {@inheritDoc}
      */
-    CompareRequest addControl( Control control ) throws MessageException;
+    CompareRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    CompareRequest addAllControls( Control[] controls ) throws MessageException;
+    CompareRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    CompareRequest removeControl( Control control ) throws MessageException;
+    CompareRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/CompareRequestImpl.java Thu May 23 11:30:16 2013
@@ -23,7 +23,6 @@ package org.apache.directory.api.ldap.mo
 import org.apache.directory.api.ldap.model.entry.BinaryValue;
 import org.apache.directory.api.ldap.model.entry.StringValue;
 import org.apache.directory.api.ldap.model.entry.Value;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.util.Strings;
 
@@ -166,7 +165,7 @@ public class CompareRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addControl( Control control ) throws MessageException
+    public CompareRequest addControl( Control control )
     {
         return ( CompareRequest ) super.addControl( control );
     }
@@ -175,7 +174,7 @@ public class CompareRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public CompareRequest addAllControls( Control[] controls ) throws MessageException
+    public CompareRequest addAllControls( Control[] controls )
     {
         return ( CompareRequest ) super.addAllControls( controls );
     }
@@ -184,7 +183,7 @@ public class CompareRequestImpl extends 
     /**
      * {@inheritDoc}
      */
-    public CompareRequest removeControl( Control control ) throws MessageException
+    public CompareRequest removeControl( Control control )
     {
         return ( CompareRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequest.java Thu May 23 11:30:16 2013
@@ -20,7 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -67,17 +66,17 @@ public interface DeleteRequest extends S
     /**
      * {@inheritDoc}
      */
-    DeleteRequest addControl( Control control ) throws MessageException;
+    DeleteRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    DeleteRequest addAllControls( Control[] controls ) throws MessageException;
+    DeleteRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    DeleteRequest removeControl( Control control ) throws MessageException;
+    DeleteRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/DeleteRequestImpl.java Thu May 23 11:30:16 2013
@@ -20,7 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -94,7 +93,7 @@ public class DeleteRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addControl( Control control ) throws MessageException
+    public DeleteRequest addControl( Control control )
     {
         return ( DeleteRequest ) super.addControl( control );
     }
@@ -103,7 +102,7 @@ public class DeleteRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest addAllControls( Control[] controls ) throws MessageException
+    public DeleteRequest addAllControls( Control[] controls )
     {
         return ( DeleteRequest ) super.addAllControls( controls );
     }
@@ -112,7 +111,7 @@ public class DeleteRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public DeleteRequest removeControl( Control control ) throws MessageException
+    public DeleteRequest removeControl( Control control )
     {
         return ( DeleteRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequest.java Thu May 23 11:30:16 2013
@@ -20,9 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
-
 /**
  * Extended protocol request message used to add to more operations to the
  * protocol. Here's what <a href="http://www.faqs.org/rfcs/rfc2251.html"> RFC
@@ -91,17 +88,17 @@ public interface ExtendedRequest<R exten
     /**
      * {@inheritDoc}
      */
-    ExtendedRequest<R> addControl( Control control ) throws MessageException;
+    ExtendedRequest<R> addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    ExtendedRequest<R> addAllControls( Control[] controls ) throws MessageException;
+    ExtendedRequest<R> addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    ExtendedRequest<R> removeControl( Control control ) throws MessageException;
+    ExtendedRequest<R> removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ExtendedRequestImpl.java Thu May 23 11:30:16 2013
@@ -20,9 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
-
 /**
  * ExtendedRequest implementation.
  * 
@@ -93,7 +90,7 @@ public class ExtendedRequestImpl extends
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<ExtendedResponse> addControl( Control control ) throws MessageException
+    public ExtendedRequest<ExtendedResponse> addControl( Control control )
     {
         return ( ExtendedRequest<ExtendedResponse> ) super.addControl( control );
     }
@@ -103,7 +100,7 @@ public class ExtendedRequestImpl extends
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<ExtendedResponse> addAllControls( Control[] controls ) throws MessageException
+    public ExtendedRequest<ExtendedResponse> addAllControls( Control[] controls )
     {
         return ( ExtendedRequest<ExtendedResponse> ) super.addAllControls( controls );
     }
@@ -113,7 +110,7 @@ public class ExtendedRequestImpl extends
      * {@inheritDoc}
      */
     @SuppressWarnings("unchecked")
-    public ExtendedRequest<ExtendedResponse> removeControl( Control control ) throws MessageException
+    public ExtendedRequest<ExtendedResponse> removeControl( Control control )
     {
         return ( ExtendedRequest<ExtendedResponse> ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/Message.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/Message.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/Message.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/Message.java Thu May 23 11:30:16 2013
@@ -22,8 +22,6 @@ package org.apache.directory.api.ldap.mo
 
 import java.util.Map;
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
-
 
 /**
  * Root interface for all LDAP message type interfaces.
@@ -73,10 +71,8 @@ public interface Message
      * 
      * @param control the control to add.
      * @return A Message reference
-     * @throws org.apache.directory.api.ldap.model.exception.MessageException if controls cannot be added to this Message or the control is
-     *             not known etc.
      */
-    Message addControl( Control control ) throws MessageException;
+    Message addControl( Control control );
 
 
     /**
@@ -84,9 +80,8 @@ public interface Message
      * 
      * @param controls the controls to add.
      * @return A Message reference
-     * @throws MessageException if controls cannot be added to this Message or they are not known etc.
      */
-    Message addAllControls( Control[] controls ) throws MessageException;
+    Message addAllControls( Control[] controls );
 
 
     /**
@@ -94,10 +89,8 @@ public interface Message
      * 
      * @param control the control to remove.
      * @return A Message reference
-     * @throws MessageException if controls cannot be added to this Message or the control is
-     *             not known etc.
      */
-    Message removeControl( Control control ) throws MessageException;
+    Message removeControl( Control control );
 
 
     /**

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequest.java Thu May 23 11:30:16 2013
@@ -20,7 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.ldap.model.name.Rdn;
 
@@ -179,17 +178,17 @@ public interface ModifyDnRequest extends
     /**
      * {@inheritDoc}
      */
-    ModifyDnRequest addControl( Control control ) throws MessageException;
+    ModifyDnRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    ModifyDnRequest addAllControls( Control[] controls ) throws MessageException;
+    ModifyDnRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    ModifyDnRequest removeControl( Control control ) throws MessageException;
+    ModifyDnRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyDnRequestImpl.java Thu May 23 11:30:16 2013
@@ -20,7 +20,6 @@
 package org.apache.directory.api.ldap.model.message;
 
 
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.ldap.model.name.Rdn;
 
@@ -170,7 +169,7 @@ public class ModifyDnRequestImpl extends
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addControl( Control control ) throws MessageException
+    public ModifyDnRequest addControl( Control control )
     {
         return ( ModifyDnRequest ) super.addControl( control );
     }
@@ -179,7 +178,7 @@ public class ModifyDnRequestImpl extends
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyDnRequest addAllControls( Control[] controls )
     {
         return ( ModifyDnRequest ) super.addAllControls( controls );
     }
@@ -188,7 +187,7 @@ public class ModifyDnRequestImpl extends
     /**
      * {@inheritDoc}
      */
-    public ModifyDnRequest removeControl( Control control ) throws MessageException
+    public ModifyDnRequest removeControl( Control control )
     {
         return ( ModifyDnRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequest.java Thu May 23 11:30:16 2013
@@ -25,7 +25,6 @@ import java.util.Collection;
 import org.apache.directory.api.ldap.model.entry.Attribute;
 import org.apache.directory.api.ldap.model.entry.Modification;
 import org.apache.directory.api.ldap.model.entry.ModificationOperation;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 
 
@@ -258,17 +257,17 @@ public interface ModifyRequest extends S
     /**
      * {@inheritDoc}
      */
-    ModifyRequest addControl( Control control ) throws MessageException;
+    ModifyRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    ModifyRequest addAllControls( Control[] controls ) throws MessageException;
+    ModifyRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    ModifyRequest removeControl( Control control ) throws MessageException;
+    ModifyRequest removeControl( Control control );
 }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/ModifyRequestImpl.java Thu May 23 11:30:16 2013
@@ -31,7 +31,6 @@ import org.apache.directory.api.ldap.mod
 import org.apache.directory.api.ldap.model.entry.DefaultModification;
 import org.apache.directory.api.ldap.model.entry.Modification;
 import org.apache.directory.api.ldap.model.entry.ModificationOperation;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.name.Dn;
 import org.apache.directory.api.util.StringConstants;
 
@@ -271,7 +270,7 @@ public class ModifyRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addControl( Control control ) throws MessageException
+    public ModifyRequest addControl( Control control )
     {
         return ( ModifyRequest ) super.addControl( control );
     }
@@ -280,7 +279,7 @@ public class ModifyRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest addAllControls( Control[] controls ) throws MessageException
+    public ModifyRequest addAllControls( Control[] controls )
     {
         return ( ModifyRequest ) super.addAllControls( controls );
     }
@@ -289,7 +288,7 @@ public class ModifyRequestImpl extends A
     /**
      * {@inheritDoc}
      */
-    public ModifyRequest removeControl( Control control ) throws MessageException
+    public ModifyRequest removeControl( Control control )
     {
         return ( ModifyRequest ) super.removeControl( control );
     }

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java?rev=1485649&r1=1485648&r2=1485649&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java (original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/SearchRequest.java Thu May 23 11:30:16 2013
@@ -23,7 +23,6 @@ package org.apache.directory.api.ldap.mo
 import java.util.List;
 
 import org.apache.directory.api.ldap.model.exception.LdapException;
-import org.apache.directory.api.ldap.model.exception.MessageException;
 import org.apache.directory.api.ldap.model.filter.ExprNode;
 import org.apache.directory.api.ldap.model.name.Dn;
 
@@ -253,17 +252,17 @@ public interface SearchRequest extends M
     /**
      * {@inheritDoc}
      */
-    SearchRequest addControl( Control control ) throws MessageException;
+    SearchRequest addControl( Control control );
 
 
     /**
      * {@inheritDoc}
      */
-    SearchRequest addAllControls( Control[] controls ) throws MessageException;
+    SearchRequest addAllControls( Control[] controls );
 
 
     /**
      * {@inheritDoc}
      */
-    SearchRequest removeControl( Control control ) throws MessageException;
+    SearchRequest removeControl( Control control );
 }



Mime
View raw message