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 2018/05/16 12:32:12 UTC
[directory-ldap-api] branch master updated: Had the
OpenLdapSchemaParser.parse method to throw a non-generic Exception
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 <el...@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.