Skip to content

Commit 97ad3b6

Browse files
committed
Fix to javadoc
1 parent 07394e3 commit 97ad3b6

File tree

1 file changed

+3
-28
lines changed

1 file changed

+3
-28
lines changed

fj-core/src/main/java/org/fugerit/java/core/lang/helpers/ClassHelper.java

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,6 @@
1-
/*
2-
*
3-
Fugerit Java Library is distributed under the terms of :
4-
5-
Apache License
6-
Version 2.0, January 2004
7-
http://www.apache.org/licenses/
8-
9-
10-
Full license :
11-
http://www.apache.org/licenses/LICENSE-2.0
12-
13-
Project site:
14-
https://www.fugerit.org/
15-
16-
SCM site :
17-
https://github.com/fugerit79/fj-lib
18-
19-
*
20-
*/
211
package org.fugerit.java.core.lang.helpers;
222

233
import java.io.InputStream;
24-
import java.lang.reflect.InvocationTargetException;
254

265
import org.fugerit.java.core.cfg.ConfigException;
276
import org.fugerit.java.core.cfg.ConfigRuntimeException;
@@ -63,13 +42,9 @@ public static ClassLoader getDefaultClassLoader() {
6342
*
6443
* @param type fully qualified name fo the class for which the new instance will be created
6544
* @return the new istance
66-
* @throws ClassNotFoundException
67-
* @throws SecurityException
68-
* @throws NoSuchMethodException
69-
* @throws InvocationTargetException
70-
* @throws IllegalArgumentException
71-
* @throws IllegalAccessException
72-
* @throws InstantiationException
45+
* @throws ClassNotFoundException if the class is not found
46+
* @throws NoSuchMethodException if the method (default constructor) is not found
47+
* @throws ConfigException in any other case
7348
*/
7449
public static Object newInstance( String type ) throws ClassNotFoundException, NoSuchMethodException, ConfigException {
7550
Object result = null;

0 commit comments

Comments
 (0)