directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r366633 - /directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java
Date Sat, 07 Jan 2006 02:43:57 GMT
Author: akarasulu
Date: Fri Jan  6 18:43:54 2006
New Revision: 366633

URL: http://svn.apache.org/viewcvs?rev=366633&view=rev
Log:
copy paste errors with exception

Modified:
    directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java

Modified: directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java
URL: http://svn.apache.org/viewcvs/directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java?rev=366633&r1=366632&r2=366633&view=diff
==============================================================================
--- directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java
(original)
+++ directory/trunk/ldap-common/src/main/java/org/apache/ldap/common/exception/LdapTimeLimitExceededException.java
Fri Jan  6 18:43:54 2006
@@ -17,13 +17,12 @@
 package org.apache.ldap.common.exception;
 
 
-import javax.naming.SizeLimitExceededException;
-
+import javax.naming.TimeLimitExceededException;
 import org.apache.ldap.common.message.ResultCodeEnum;
 
 
 /**
- * A SizeLimitExceededException which associates a resultCode namely the
+ * A TiimeLimitExceededException which associates a resultCode namely the
  * {@link ResultCodeEnum#SIZELIMITEXCEEDED} resultCode with the exception.
  *
  * @see LdapException
@@ -33,14 +32,13 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-public class LdapTimeLimitExceededException extends SizeLimitExceededException
-        implements LdapException
+public class LdapTimeLimitExceededException extends TimeLimitExceededException implements
LdapException
 {
     static final long serialVersionUID = -8611970137960601723L;
 
 
     /**
-     * @see SizeLimitExceededException#SizeLimitExceededException()
+     * @see TimeLimitExceededException#TimeLimitExceededException()
      */
     public LdapTimeLimitExceededException()
     {
@@ -49,7 +47,7 @@
 
 
     /**
-     * @see SizeLimitExceededException#SizeLimitExceededException(String)
+     * @see TimeLimitExceededException#TimeLimitExceededException(String)
      */
     public LdapTimeLimitExceededException( String explanation )
     {
@@ -58,12 +56,12 @@
 
 
     /**
-     * Always returns {@link ResultCodeEnum#SIZELIMITEXCEEDED}
+     * Always returns {@link ResultCodeEnum#TIMELIMITEXCEEDED}
      *
      * @see LdapException#getResultCode()
      */
     public ResultCodeEnum getResultCode()
     {
-        return ResultCodeEnum.SIZELIMITEXCEEDED;
+        return ResultCodeEnum.TIMELIMITEXCEEDED;
     }
 }



Mime
View raw message