directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-ldap-api] branch master updated: Had the OpenLdapSchemaParser.parse method to throw a non-generic Exception
Date Wed, 16 May 2018 12:32:12 GMT
This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 02e6a01  Had the OpenLdapSchemaParser.parse method to throw a non-generic Exception
02e6a01 is described below

commit 02e6a01849b8693d3a1bb45e76cdffce6370d40c
Author: Emmanuel L├ęcharny <elecharny@symas.com>
AuthorDate: Wed May 16 14:32:10 2018 +0200

    Had the OpenLdapSchemaParser.parse method to throw a non-generic
    Exception
---
 .../directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java
b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java
index a77a21f..3e94751 100644
--- a/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java
+++ b/ldap/model/src/main/java/org/apache/directory/api/ldap/model/schema/parsers/OpenLdapSchemaParser.java
@@ -713,7 +713,7 @@ public class OpenLdapSchemaParser
      * @param schemaIn a stream of schema objects
      * @throws Exception 
      */
-    public void parse( InputStream schemaIn ) throws Exception
+    public void parse( InputStream schemaIn ) throws ParseException, LdapSchemaException,
IOException
     {
         try ( InputStreamReader in = new InputStreamReader( schemaIn, Charset.defaultCharset()
) )
         {

-- 
To stop receiving notification emails like this one, please contact
elecharny@apache.org.

Mime
View raw message