You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2008/05/21 23:17:16 UTC
svn commit: r658877 -
/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Author: elecharny
Date: Wed May 21 14:17:16 2008
New Revision: 658877
URL: http://svn.apache.org/viewvc?rev=658877&view=rev
Log:
Changed the NamingException to Exception
Modified:
directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java?rev=658877&r1=658876&r2=658877&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java (original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/DefaultDirectoryService.java Wed May 21 14:17:16 2008
@@ -578,13 +578,13 @@
}
- public LdapContext getJndiContext( LdapPrincipal principal ) throws NamingException
+ public LdapContext getJndiContext( LdapPrincipal principal ) throws Exception
{
return new ServerLdapContext( this, principal, new LdapDN() );
}
- public LdapContext getJndiContext( LdapPrincipal principal, String dn ) throws NamingException
+ public LdapContext getJndiContext( LdapPrincipal principal, String dn ) throws Exception
{
return new ServerLdapContext( this, principal, new LdapDN( dn ) );
}