Class ExceptionResourceGenerator
java.lang.Object
org.glassfish.pfl.basic.tools.logex.ExceptionResourceGenerator
Scans a directory looking for class files. For each class file,
if the class file is annotated with ExceptionWrapper, extract the
messages and write out into a resource file.
- Author:
- ken
-
Method Summary
-
Method Details
-
getResources
Generate a list of Strings for a resource file for the given exception and log handling class.- Parameters:
cls- The class that describes messages for logging.- Returns:
- A list of strings suitable for inclusion in a resource bundle.
-
main
- Throws:
IOException
-