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/responses/BindResultImpl.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
index de4bc01..753cf7a 100644
--- a/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
+++ b/opendj3/opendj-ldap-sdk/src/main/java/org/forgerock/opendj/ldap/responses/BindResultImpl.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2010 Sun Microsystems, Inc.
+ * Portions copyright 2012 ForgeRock AS.
*/
package org.forgerock.opendj.ldap.responses;
@@ -52,7 +53,7 @@
* @throws NullPointerException
* If {@code resultCode} was {@code null}.
*/
- BindResultImpl(final ResultCode resultCode) throws NullPointerException
+ BindResultImpl(final ResultCode resultCode)
{
super(resultCode);
}
@@ -69,7 +70,6 @@
* If {@code bindResult} was {@code null} .
*/
BindResultImpl(final BindResult bindResult)
- throws NullPointerException
{
super(bindResult);
this.credentials = bindResult.getServerSASLCredentials();
@@ -102,7 +102,6 @@
* {@inheritDoc}
*/
public BindResult setServerSASLCredentials(final ByteString credentials)
- throws UnsupportedOperationException
{
this.credentials = credentials;
return this;
--
Gitblit v1.10.0