pnicolucci commented on code in PR #747:
URL: https://github.com/apache/myfaces/pull/747#discussion_r1745882139
##########
impl/src/main/java/org/apache/myfaces/util/lang/ClassUtils.java:
##########
@@ -268,6 +269,37 @@ public static Class simpleClassForName(String type,
boolean logException)
return returnClass;
}
+ /**
+ * Same as {link {@link #simpleClassForName(String)}, but accepts two
booleans
+ * One to log an exception and another to rethrow a FacesExceptions
+ *
+ * @param type
+ * @param logException - true to log the ClassNotFoundException, false to
avoid logging
+ * @param rethrowException - true to throw FacesException, false to avoid
logging/throwing FacesException
Review Comment:
False here only avoids throwing the exception.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]