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/com/forgerock/opendj/ldap/LDAPConnection.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java b/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java
index 5ad6c39..9624463 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/com/forgerock/opendj/ldap/LDAPConnection.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2010 Sun Microsystems, Inc.
- * Portions Copyright 2011 ForgeRock AS
+ * Portions Copyright 2011-2012 ForgeRock AS
*/
package com.forgerock.opendj.ldap;
@@ -232,7 +232,6 @@
* {@inheritDoc}
*/
public void addConnectionEventListener(final ConnectionEventListener listener)
- throws IllegalStateException, NullPointerException
{
Validator.ensureNotNull(listener);
listeners.add(listener);
@@ -343,7 +342,6 @@
* {@inheritDoc}
*/
public void close(final UnbindRequest request, final String reason)
- throws NullPointerException
{
// FIXME: I18N need to internationalize this message.
Validator.ensureNotNull(request);
@@ -702,7 +700,7 @@
* {@inheritDoc}
*/
public void removeConnectionEventListener(
- final ConnectionEventListener listener) throws NullPointerException
+ final ConnectionEventListener listener)
{
Validator.ensureNotNull(listener);
listeners.remove(listener);
--
Gitblit v1.10.0