directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r902286 - in /directory/apacheds/trunk: core-jndi/src/main/java/org/apache/directory/server/core/jndi/ i18n/src/main/java/org/apache/directory/server/i18n/ i18n/src/main/resources/org/apache/directory/server/i18n/
Date Fri, 22 Jan 2010 21:33:24 GMT
Author: felixk
Date: Fri Jan 22 21:33:23 2010
New Revision: 902286

URL: http://svn.apache.org/viewvc?rev=902286&view=rev
Log:
I18n

Modified:
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/CoreContextFactory.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/JavaLdapSupport.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/LdapJndiProperties.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
    directory/apacheds/trunk/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
    directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/CoreContextFactory.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/CoreContextFactory.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/CoreContextFactory.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/CoreContextFactory.java
Fri Jan 22 21:33:23 2010
@@ -22,6 +22,7 @@
 
 import org.apache.directory.server.core.CoreSession;
 import org.apache.directory.server.core.DirectoryService;
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.util.StringTools;
@@ -55,7 +56,7 @@
 
         if ( service == null )
         {
-            throw new ConfigurationException( "Cannot find directory service in environment:
" + env );
+            throw new ConfigurationException( I18n.err( I18n.ERR_477, env ) );
         }
 
         if ( ! service.isStarted() )
@@ -134,7 +135,7 @@
         }
         else
         {
-            throw new javax.naming.ConfigurationException( "Can't convert '" + Context.SECURITY_CREDENTIALS
+ "' to byte[]." );
+            throw new javax.naming.ConfigurationException( I18n.err( I18n.ERR_478, Context.SECURITY_CREDENTIALS
) );
         }
 
         if ( credential != null )

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/JavaLdapSupport.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/JavaLdapSupport.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/JavaLdapSupport.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/JavaLdapSupport.java
Fri Jan 22 21:33:23 2010
@@ -31,6 +31,7 @@
 import org.apache.directory.server.core.entry.DefaultServerAttribute;
 import org.apache.directory.server.core.entry.ServerAttribute;
 import org.apache.directory.server.core.entry.ServerEntry;
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
@@ -92,8 +93,7 @@
         }
         catch ( Exception e )
         {
-            NamingException ne = new NamingException( "De-serialization of '" + className
+ "' instance failed:\n"
-                + e.getLocalizedMessage() );
+            NamingException ne = new NamingException( I18n.err( I18n.ERR_479, className,
e.getLocalizedMessage() ) );
             ne.setRootCause( e );
             throw ne;
         }
@@ -108,7 +108,7 @@
             }
             catch ( IOException e )
             {
-                throw new NamingException( "object deserialization stream close() failure"
);
+                throw new NamingException( I18n.err( I18n.ERR_480 ) );
             }
         }
     }
@@ -135,7 +135,7 @@
         }
         catch ( Exception e )
         {
-            NamingException ne = new NamingException( "Serialization of '" + obj + "' failed:\n"
+ e.getLocalizedMessage() );
+            NamingException ne = new NamingException( I18n.err( I18n.ERR_481, obj, e.getLocalizedMessage()
) );
             ne.setRootCause( e );
             throw ne;
         }
@@ -150,7 +150,7 @@
             }
             catch ( IOException e )
             {
-                throw new NamingException( "object serialization stream close() failure"
);
+                throw new NamingException( I18n.err( I18n.ERR_482 ) );
             }
         }
     }

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/LdapJndiProperties.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/LdapJndiProperties.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/LdapJndiProperties.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/LdapJndiProperties.java
Fri Jan 22 21:33:23 2010
@@ -25,6 +25,7 @@
 import javax.naming.Context;
 import javax.naming.NamingException;
 
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.constants.AuthenticationLevel;
 import org.apache.directory.shared.ldap.exception.LdapConfigurationException;
 import org.apache.directory.shared.ldap.name.LdapDN;
@@ -74,8 +75,8 @@
         }
         else if ( !( authentication instanceof String ) )
         {
-            throw new LdapConfigurationException( "Don't know how to interpret " + authentication.getClass()
-                + " objects for environment property " + Context.SECURITY_AUTHENTICATION
);
+            throw new LdapConfigurationException( I18n.err( I18n.ERR_483, authentication.getClass(),

+                Context.SECURITY_AUTHENTICATION ) );
         }
         else
         {
@@ -115,16 +116,14 @@
 
         if ( !env.containsKey( Context.PROVIDER_URL ) )
         {
-            String msg = "Expected property " + Context.PROVIDER_URL;
-            msg += " but could not find it in env!";
+            String msg = I18n.err( I18n.ERR_484, Context.PROVIDER_URL );
             throw new LdapConfigurationException( msg );
         }
 
         String url = ( String ) env.get( Context.PROVIDER_URL );
         if ( url == null )
         {
-            String msg = "Expected value for property " + Context.PROVIDER_URL;
-            msg += " but it was set to null in env!";
+            String msg = I18n.err( I18n.ERR_485, Context.PROVIDER_URL );
             throw new LdapConfigurationException( msg );
         }
 
@@ -155,8 +154,8 @@
         }
         else if ( !( authentication instanceof String ) )
         {
-            throw new LdapConfigurationException( "Don't know how to interpret " + authentication.getClass()
-                + " objects for environment property " + Context.SECURITY_AUTHENTICATION
);
+            throw new LdapConfigurationException( I18n.err( I18n.ERR_486, authentication.getClass(),

+                Context.SECURITY_AUTHENTICATION ) );
         }
         else
         {
@@ -189,7 +188,7 @@
 
         if ( principal == null && props.level == AuthenticationLevel.SIMPLE )
         {
-            throw new LdapConfigurationException( Context.SECURITY_PRINCIPAL + " cannot be
null." );
+            throw new LdapConfigurationException( I18n.err( I18n.ERR_487, Context.SECURITY_PRINCIPAL
) );
         }
         else if ( principal == null && props.level == AuthenticationLevel.NONE )
         {
@@ -197,8 +196,7 @@
         }
         else if ( !( principal instanceof String ) )
         {
-            throw new LdapConfigurationException( "Don't know how to interpret " + principal.getClass()
-                + " objects for environment property " + Context.SECURITY_PRINCIPAL );
+            throw new LdapConfigurationException( I18n.err( I18n.ERR_488, principal.getClass(),
Context.SECURITY_PRINCIPAL ) );
         }
         else if ( ( ( String ) principal ).trim().equals( "" ) )
         {
@@ -219,8 +217,7 @@
             }
             else
             {
-                throw new LdapConfigurationException( "Don't know how to interpret " + obj.getClass()
-                    + " objects for environment property " + SASL_AUTHID );
+                throw new LdapConfigurationException( I18n.err( I18n.ERR_488, obj.getClass(),
SASL_AUTHID ) );
             }
             props.saslAuthId = ( String ) principal;
         }
@@ -231,7 +228,7 @@
 
         if ( props.level == AuthenticationLevel.SIMPLE && credobj == null )
         {
-            throw new LdapConfigurationException( "cannot specify simple authentication with
supplying credentials" );
+            throw new LdapConfigurationException( I18n.err( I18n.ERR_489 ) );
         }
         else if ( credobj != null )
         {
@@ -245,8 +242,7 @@
             }
             else
             {
-                throw new LdapConfigurationException( "Don't know how to interpret " + credobj.getClass()
-                    + " objects for environment property " + Context.SECURITY_CREDENTIALS
);
+                throw new LdapConfigurationException( I18n.err( I18n.ERR_488, credobj.getClass(),
Context.SECURITY_CREDENTIALS ) );
             }
         }
 

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerContext.java
Fri Jan 22 21:33:23 2010
@@ -70,6 +70,7 @@
 import org.apache.directory.server.core.interceptor.context.OperationContext;
 import org.apache.directory.server.core.interceptor.context.RenameOperationContext;
 import org.apache.directory.server.core.interceptor.context.SearchOperationContext;
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.constants.JndiPropertyConstants;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.cursor.EmptyCursor;
@@ -170,7 +171,7 @@
         
         if ( ! operationManager.hasEntry( new EntryOperationContext( session, dn ) ) )
         {
-            throw new NameNotFoundException( dn + " does not exist" );
+            throw new NameNotFoundException( I18n.err( I18n.ERR_490, dn ) );
         }
     }
     
@@ -198,7 +199,7 @@
         
         if ( ! operationManager.hasEntry( new EntryOperationContext( session, ( LdapDN )
dn ) ) )
         {
-            throw new NameNotFoundException( dn + " does not exist" );
+            throw new NameNotFoundException( I18n.err( I18n.ERR_490, dn ) );
         }
     }
 
@@ -215,7 +216,7 @@
         
         if ( ! operationManager.hasEntry( new EntryOperationContext( session, ( LdapDN )
dn ) ) )
         {
-            throw new NameNotFoundException( dn + " does not exist" );
+            throw new NameNotFoundException( I18n.err( I18n.ERR_490, dn ) );
         }
     }
 
@@ -715,17 +716,13 @@
             else
             {
                 // No CN in the rdn, this is an error
-                throw new LdapSchemaViolationException( name
-                    + " does not contains the mandatory 'cn' attribute for JavaContainer
ObjectClass!",
-                    ResultCodeEnum.OBJECT_CLASS_VIOLATION );
+                throw new LdapSchemaViolationException( I18n.err( I18n.ERR_491, name), ResultCodeEnum.OBJECT_CLASS_VIOLATION
);
             }
         }
         else
         {
             // No CN in the rdn, this is an error
-            throw new LdapSchemaViolationException( name
-                + " does not contains the mandatory 'cn' attribute for JavaContainer ObjectClass!",
-                ResultCodeEnum.OBJECT_CLASS_VIOLATION );
+            throw new LdapSchemaViolationException( I18n.err( I18n.ERR_491, name), ResultCodeEnum.OBJECT_CLASS_VIOLATION
);
         }
 
         /*
@@ -777,7 +774,7 @@
 
         if ( target.size() == 0 )
         {
-            throw new LdapNoPermissionException( "can't delete the rootDSE" );
+            throw new LdapNoPermissionException( I18n.err( I18n.ERR_492 ) );
         }
 
         try
@@ -860,13 +857,13 @@
         // Check for Referenceable
         else if ( obj instanceof Referenceable )
         {
-            throw new NamingException( "Do not know how to store Referenceables yet!" );
+            throw new NamingException( I18n.err( I18n.ERR_493 ) );
         }
         // Store different formats
         else if ( obj instanceof Reference )
         {
             // Store as ref and add outAttrs
-            throw new NamingException( "Do not know how to store References yet!" );
+            throw new NamingException( I18n.err( I18n.ERR_494 ) );
         }
         else if ( obj instanceof Serializable )
         {
@@ -921,7 +918,7 @@
         }
         else
         {
-            throw new NamingException( "Can't find a way to bind: " + obj );
+            throw new NamingException( I18n.err( I18n.ERR_495, obj ) );
         }
     }
 
@@ -945,7 +942,7 @@
 
         if ( oldDn.size() == 0 )
         {
-            throw new LdapNoPermissionException( "can't rename the rootDSE" );
+            throw new LdapNoPermissionException( I18n.err( I18n.ERR_496 ) );
         }
 
         // calculate parents
@@ -1123,8 +1120,7 @@
         }
         catch ( Exception e )
         {
-            String msg = "Failed to create an object for " + target;
-            msg += " using object factories within the context's environment.";
+            String msg = I18n.err( I18n.ERR_497, target );
             NamingException ne = new NamingException( msg );
             ne.setRootCause( e );
             throw ne;
@@ -1337,8 +1333,7 @@
             }
         }
 
-        String msg = "The prefix '" + prefix + "' is not an ancestor of this ";
-        msg += "entry '" + dn + "'";
+        String msg = I18n.err( I18n.ERR_498, prefix, dn );
         throw new NamingException( msg );
     }
 

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Fri Jan 22 21:33:23 2010
@@ -53,6 +53,7 @@
 import org.apache.directory.server.core.event.NotificationCriteria;
 import org.apache.directory.server.core.filtering.EntryFilteringCursor;
 import org.apache.directory.server.core.interceptor.context.EntryOperationContext;
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.entry.EntryAttribute;
 import org.apache.directory.shared.ldap.entry.Modification;
@@ -301,8 +302,7 @@
     {
         if ( ( null == obj ) && ( null == attrs ) )
         {
-            throw new NamingException( "Both obj and attrs args are null. "
-                + "At least one of these parameters must not be null." );
+            throw new NamingException( I18n.err( I18n.ERR_499 ) );
         }
 
         // A null attrs defaults this to the Context.bind() operation
@@ -364,14 +364,14 @@
         // Check for Referenceable
         if ( obj instanceof Referenceable )
         {
-            throw new NamingException( "Do not know how to store Referenceables yet!" );
+            throw new NamingException( I18n.err( I18n.ERR_493 ) );
         }
 
         // Store different formats
         if ( obj instanceof Reference )
         {
             // Store as ref and add outAttrs
-            throw new NamingException( "Do not know how to store References yet!" );
+            throw new NamingException( I18n.err( I18n.ERR_494 ) );
         }
         else if ( obj instanceof Serializable )
         {
@@ -424,7 +424,7 @@
         }
         else
         {
-            throw new NamingException( "Can't find a way to bind: " + obj );
+            throw new NamingException( I18n.err( I18n.ERR_495, obj ) );
         }
     }
 
@@ -809,8 +809,7 @@
         }
         catch ( ParseException pe )
         {
-            InvalidSearchFilterException isfe = new InvalidSearchFilterException(
-                "Encountered parse exception while parsing the filter: '" + filter + "'"
);
+            InvalidSearchFilterException isfe = new InvalidSearchFilterException( I18n.err(
I18n.ERR_500, filter ) );
             isfe.setRootCause( pe );
             throw isfe;
         }
@@ -926,7 +925,7 @@
         }
         catch ( Exception e )
         {
-            NamingException e2 = new NamingException( "could not parse filter: " + filterStr
);
+            NamingException e2 = new NamingException( I18n.err( I18n.ERR_501, filterStr )
);
             e2.setRootCause( e );
             throw e2;
         }

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerLdapContext.java
Fri Jan 22 21:33:23 2010
@@ -35,6 +35,7 @@
 import org.apache.directory.server.core.entry.ServerStringValue;
 import org.apache.directory.server.core.interceptor.context.CompareOperationContext;
 import org.apache.directory.server.core.interceptor.context.UnbindOperationContext;
+import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.ldap.NotImplementedException;
 import org.apache.directory.shared.ldap.entry.Value;
 import org.apache.directory.shared.ldap.name.LdapDN;
@@ -196,7 +197,7 @@
             }
             else
             {
-                throw new NamingException( "Bad value for the OID " + oid );
+                throw new NamingException( I18n.err( I18n.ERR_502, oid ) );
             }
         }
         else
@@ -211,7 +212,7 @@
             }
             else
             {
-                throw new NamingException( "Bad value for the OID " + oid );
+                throw new NamingException( I18n.err( I18n.ERR_502, oid ) );
             }
         }
         

Modified: directory/apacheds/trunk/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
(original)
+++ directory/apacheds/trunk/i18n/src/main/java/org/apache/directory/server/i18n/I18n.java
Fri Jan 22 21:33:23 2010
@@ -538,6 +538,106 @@
     public static String ERR_497 = "ERR_497";
     public static String ERR_498 = "ERR_498";
     public static String ERR_499 = "ERR_499";
+    public static String ERR_500 = "ERR_500";
+    public static String ERR_501 = "ERR_501";
+    public static String ERR_502 = "ERR_502";
+    public static String ERR_503 = "ERR_503";
+    public static String ERR_504 = "ERR_504";
+    public static String ERR_505 = "ERR_505";
+    public static String ERR_506 = "ERR_506";
+    public static String ERR_507 = "ERR_507";
+    public static String ERR_508 = "ERR_508";
+    public static String ERR_509 = "ERR_509";
+    public static String ERR_510 = "ERR_510";
+    public static String ERR_511 = "ERR_511";
+    public static String ERR_512 = "ERR_512";
+    public static String ERR_513 = "ERR_513";
+    public static String ERR_514 = "ERR_514";
+    public static String ERR_515 = "ERR_515";
+    public static String ERR_516 = "ERR_516";
+    public static String ERR_517 = "ERR_517";
+    public static String ERR_518 = "ERR_518";
+    public static String ERR_519 = "ERR_519";
+    public static String ERR_520 = "ERR_520";
+    public static String ERR_521 = "ERR_521";
+    public static String ERR_522 = "ERR_522";
+    public static String ERR_523 = "ERR_523";
+    public static String ERR_524 = "ERR_524";
+    public static String ERR_525 = "ERR_525";
+    public static String ERR_526 = "ERR_526";
+    public static String ERR_527 = "ERR_527";
+    public static String ERR_528 = "ERR_528";
+    public static String ERR_529 = "ERR_529";
+    public static String ERR_530 = "ERR_530";
+    public static String ERR_531 = "ERR_531";
+    public static String ERR_532 = "ERR_532";
+    public static String ERR_533 = "ERR_533";
+    public static String ERR_534 = "ERR_534";
+    public static String ERR_535 = "ERR_535";
+    public static String ERR_536 = "ERR_536";
+    public static String ERR_537 = "ERR_537";
+    public static String ERR_538 = "ERR_538";
+    public static String ERR_539 = "ERR_539";
+    public static String ERR_540 = "ERR_540";
+    public static String ERR_541 = "ERR_541";
+    public static String ERR_542 = "ERR_542";
+    public static String ERR_543 = "ERR_543";
+    public static String ERR_544 = "ERR_544";
+    public static String ERR_545 = "ERR_545";
+    public static String ERR_546 = "ERR_546";
+    public static String ERR_547 = "ERR_547";
+    public static String ERR_548 = "ERR_548";
+    public static String ERR_549 = "ERR_549";
+    public static String ERR_550 = "ERR_550";
+    public static String ERR_551 = "ERR_551";
+    public static String ERR_552 = "ERR_552";
+    public static String ERR_553 = "ERR_553";
+    public static String ERR_554 = "ERR_554";
+    public static String ERR_555 = "ERR_555";
+    public static String ERR_556 = "ERR_556";
+    public static String ERR_557 = "ERR_557";
+    public static String ERR_558 = "ERR_558";
+    public static String ERR_559 = "ERR_559";
+    public static String ERR_560 = "ERR_560";
+    public static String ERR_561 = "ERR_561";
+    public static String ERR_562 = "ERR_562";
+    public static String ERR_563 = "ERR_563";
+    public static String ERR_564 = "ERR_564";
+    public static String ERR_565 = "ERR_565";
+    public static String ERR_566 = "ERR_566";
+    public static String ERR_567 = "ERR_567";
+    public static String ERR_568 = "ERR_568";
+    public static String ERR_569 = "ERR_569";
+    public static String ERR_570 = "ERR_570";
+    public static String ERR_571 = "ERR_571";
+    public static String ERR_572 = "ERR_572";
+    public static String ERR_573 = "ERR_573";
+    public static String ERR_574 = "ERR_574";
+    public static String ERR_575 = "ERR_575";
+    public static String ERR_576 = "ERR_576";
+    public static String ERR_577 = "ERR_577";
+    public static String ERR_578 = "ERR_578";
+    public static String ERR_579 = "ERR_579";
+    public static String ERR_580 = "ERR_580";
+    public static String ERR_581 = "ERR_581";
+    public static String ERR_582 = "ERR_582";
+    public static String ERR_583 = "ERR_583";
+    public static String ERR_584 = "ERR_584";
+    public static String ERR_585 = "ERR_585";
+    public static String ERR_586 = "ERR_586";
+    public static String ERR_587 = "ERR_587";
+    public static String ERR_588 = "ERR_588";
+    public static String ERR_589 = "ERR_589";
+    public static String ERR_590 = "ERR_590";
+    public static String ERR_591 = "ERR_591";
+    public static String ERR_592 = "ERR_592";
+    public static String ERR_593 = "ERR_593";
+    public static String ERR_594 = "ERR_594";
+    public static String ERR_595 = "ERR_595";
+    public static String ERR_596 = "ERR_596";
+    public static String ERR_597 = "ERR_597";
+    public static String ERR_598 = "ERR_598";
+    public static String ERR_599 = "ERR_599";
 
 
     /**

Modified: directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties?rev=902286&r1=902285&r2=902286&view=diff
==============================================================================
--- directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
(original)
+++ directory/apacheds/trunk/i18n/src/main/resources/org/apache/directory/server/i18n/errors.properties
Fri Jan 22 21:33:23 2010
@@ -498,26 +498,127 @@
 ERR_474=expected byte[] to normalize
 ERR_475=can't move the root DSE
 ERR_476=Unidentified change type value: {0}
-ERR_477=
-ERR_478=
-ERR_479=
-ERR_480=
-ERR_481=
-ERR_482=
-ERR_483=
-ERR_484=
-ERR_485=
-ERR_486=
-ERR_487=
-ERR_488=
-ERR_489=
-ERR_490=
-ERR_491=
-ERR_492=
-ERR_493=
-ERR_494=
-ERR_495=
-ERR_496=
-ERR_497=
-ERR_498=
-ERR_499=
+ERR_477=Cannot find directory service in environment: {0}
+ERR_478=Can't convert '{0}' to byte[].
+ERR_479=De-serialization of '{0}' instance failed:\n{1}
+ERR_480=object deserialization stream close() failure
+ERR_481=Serialization of '{0}' failed:\n{1}
+ERR_482=object serialization stream close() failure
+ERR_483=Don't know how to interpret {0} objects for environment property {1}
+ERR_484=Expected property {0} but could not find it in env!
+ERR_485=Expected value for property {0} but it was set to null in env!
+ERR_486=Don't know how to interpret {0} objects for environment property {1}
+ERR_487={0} cannot be null.
+ERR_488=Don't know how to interpret {0} objects for environment property {1}
+ERR_489=cannot specify simple authentication with supplying credentials
+ERR_490={0} does not exist
+ERR_491={0} does not contains the mandatory 'cn' attribute for JavaContainer ObjectClass!
+ERR_492=can't delete the rootDSE
+ERR_493=Do not know how to store Referenceables yet!
+ERR_494=Do not know how to store References yet!
+ERR_495=Can't find a way to bind: {0}
+ERR_496=can't rename the rootDSE
+ERR_497=Failed to create an object for {0} using object factories within the context's environment.
+ERR_498=The prefix '{0}' is not an ancestor of this entry '{1}'
+ERR_499=Both obj and attrs args are null. At least one of these parameters must not be null.
+ERR_500=Encountered parse exception while parsing the filter: '{0}'
+ERR_501=could not parse filter: {0}
+ERR_502=Bad value for the OID {0}
+ERR_503=
+ERR_504=
+ERR_505=
+ERR_506=
+ERR_507=
+ERR_508=
+ERR_509=
+ERR_510=
+ERR_511=
+ERR_512=
+ERR_513=
+ERR_514=
+ERR_515=
+ERR_516=
+ERR_517=
+ERR_518=
+ERR_519=
+ERR_520=
+ERR_521=
+ERR_522=
+ERR_523=
+ERR_524=
+ERR_525=
+ERR_526=
+ERR_527=
+ERR_528=
+ERR_529=
+ERR_530=
+ERR_531=
+ERR_532=
+ERR_533=
+ERR_534=
+ERR_535=
+ERR_536=
+ERR_537=
+ERR_538=
+ERR_539=
+ERR_540=
+ERR_541=
+ERR_542=
+ERR_543=
+ERR_544=
+ERR_545=
+ERR_546=
+ERR_547=
+ERR_548=
+ERR_549=
+ERR_550=
+ERR_551=
+ERR_552=
+ERR_553=
+ERR_554=
+ERR_555=
+ERR_556=
+ERR_557=
+ERR_558=
+ERR_559=
+ERR_560=
+ERR_561=
+ERR_562=
+ERR_563=
+ERR_564=
+ERR_565=
+ERR_566=
+ERR_567=
+ERR_568=
+ERR_569=
+ERR_570=
+ERR_571=
+ERR_572=
+ERR_573=
+ERR_574=
+ERR_575=
+ERR_576=
+ERR_577=
+ERR_578=
+ERR_579=
+ERR_580=
+ERR_581=
+ERR_582=
+ERR_583=
+ERR_584=
+ERR_585=
+ERR_586=
+ERR_587=
+ERR_588=
+ERR_589=
+ERR_590=
+ERR_591=
+ERR_592=
+ERR_593=
+ERR_594=
+ERR_595=
+ERR_596=
+ERR_597=
+ERR_598=
+ERR_599=
+



Mime
View raw message