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/ldif/ConnectionEntryWriter.java | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/ConnectionEntryWriter.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/ConnectionEntryWriter.java
index edfcd33..121fd7e 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/ConnectionEntryWriter.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldif/ConnectionEntryWriter.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2009 Sun Microsystems, Inc.
+ * Portions copyright 2012 ForgeRock AS.
*/
package org.forgerock.opendj.ldif;
@@ -69,7 +70,6 @@
* If {@code connection} was {@code null}.
*/
public ConnectionEntryWriter(final Connection connection)
- throws NullPointerException
{
Validator.ensureNotNull(connection);
this.connection = connection;
@@ -110,7 +110,6 @@
* If {@code comment} was {@code null}.
*/
public ConnectionEntryWriter writeComment(final CharSequence comment)
- throws NullPointerException
{
Validator.ensureNotNull(comment);
@@ -136,8 +135,7 @@
* If {@code entry} was {@code null}.
*/
public ConnectionEntryWriter writeEntry(final Entry entry)
- throws ErrorResultIOException, InterruptedIOException,
- NullPointerException
+ throws ErrorResultIOException, InterruptedIOException
{
Validator.ensureNotNull(entry);
try
--
Gitblit v1.10.0