Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 49093 invoked from network); 30 Oct 2010 13:57:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Oct 2010 13:57:09 -0000 Received: (qmail 16738 invoked by uid 500); 30 Oct 2010 13:57:09 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 16682 invoked by uid 500); 30 Oct 2010 13:57:08 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 16674 invoked by uid 99); 30 Oct 2010 13:57:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 13:57:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Oct 2010 13:57:07 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 25BA52388A32; Sat, 30 Oct 2010 13:56:11 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1029066 - /directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java Date: Sat, 30 Oct 2010 13:56:11 -0000 To: commits@directory.apache.org From: felixk@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101030135611.25BA52388A32@eris.apache.org> Author: felixk Date: Sat Oct 30 13:56:10 2010 New Revision: 1029066 URL: http://svn.apache.org/viewvc?rev=1029066&view=rev Log: error msg Modified: directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java Modified: directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java?rev=1029066&r1=1029065&r2=1029066&view=diff ============================================================================== --- directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java (original) +++ directory/shared/trunk/ldap-client-api/src/main/java/org/apache/directory/ldap/client/api/SearchCursorImpl.java Sat Oct 30 13:56:10 2010 @@ -24,6 +24,7 @@ package org.apache.directory.ldap.client import java.util.concurrent.TimeUnit; import org.apache.directory.ldap.client.api.future.SearchFuture; +import org.apache.directory.shared.i18n.I18n; import org.apache.directory.shared.ldap.cursor.AbstractCursor; import org.apache.directory.shared.ldap.cursor.InvalidCursorPositionException; import org.apache.directory.shared.ldap.cursor.SearchCursor; @@ -219,7 +220,8 @@ public class SearchCursorImpl extends Ab */ public void after( Response element ) throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "after( Response element )" ) ) ); } @@ -229,7 +231,8 @@ public class SearchCursorImpl extends Ab */ public void afterLast() throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "afterLast()" ) ) ); } @@ -239,7 +242,8 @@ public class SearchCursorImpl extends Ab */ public void before( Response element ) throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "before( Response element )" ) ) ); } @@ -249,7 +253,8 @@ public class SearchCursorImpl extends Ab */ public void beforeFirst() throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "beforeFirst()" ) ) ); } @@ -259,7 +264,8 @@ public class SearchCursorImpl extends Ab */ public boolean first() throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "first()" ) ) ); } @@ -269,7 +275,8 @@ public class SearchCursorImpl extends Ab */ public boolean last() throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "last()" ) ) ); } @@ -279,7 +286,8 @@ public class SearchCursorImpl extends Ab */ public boolean previous() throws Exception { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException( I18n.err( I18n.ERR_02014_UNSUPPORTED_OPERATION, getClass().getName() + .concat( "." ).concat( "previous()" ) ) ); } }