From 41e72531b209b74571589296a3a33354eb2a1c39 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Tue, 03 Jan 2012 17:05:22 +0000
Subject: [PATCH] Fix OPENDJ-394: Do not declare unchecked exceptions in method declarations

---
 opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AuthenticatedConnectionFactory.java |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AuthenticatedConnectionFactory.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AuthenticatedConnectionFactory.java
index dcd524f..29cff97 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AuthenticatedConnectionFactory.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/AuthenticatedConnectionFactory.java
@@ -23,14 +23,13 @@
  *
  *
  *      Copyright 2009-2010 Sun Microsystems, Inc.
- *      Portions copyright 2011 ForgeRock AS.
+ *      Portions copyright 2011-2012 ForgeRock AS.
  */
 
 package org.forgerock.opendj.ldap;
 
 
 
-import org.forgerock.i18n.LocalizedIllegalArgumentException;
 import org.forgerock.opendj.ldap.requests.BindRequest;
 import org.forgerock.opendj.ldap.responses.BindResult;
 
@@ -79,8 +78,6 @@
     public FutureResult<BindResult> bindAsync(final BindRequest request,
         final IntermediateResponseHandler intermediateResponseHandler,
         final ResultHandler<? super BindResult> resultHandler)
-        throws UnsupportedOperationException, IllegalStateException,
-        NullPointerException
     {
       throw new UnsupportedOperationException();
     }
@@ -91,8 +88,7 @@
      * {@inheritDoc}
      */
     public BindResult bind(BindRequest request) throws ErrorResultException,
-        InterruptedException, UnsupportedOperationException,
-        IllegalStateException, NullPointerException
+        InterruptedException
     {
       throw new UnsupportedOperationException();
     }
@@ -103,9 +99,7 @@
      * {@inheritDoc}
      */
     public BindResult bind(String name, char[] password)
-        throws ErrorResultException, InterruptedException,
-        LocalizedIllegalArgumentException, UnsupportedOperationException,
-        IllegalStateException, NullPointerException
+        throws ErrorResultException, InterruptedException
     {
       throw new UnsupportedOperationException();
     }

--
Gitblit v1.10.0