How to get information from console during application is running
Hi there,
I am new to Java application development.
I am using ImageJ commands to process images in a java application.
ImageJ methode's errors appear only in the GUI.
As I don't have a GUI for my application, I can redirect the error message to the console.
My question is :
How to get these error messages from the console and treat them during the Application is running ?
Example of error in console :
Code :
Plugin or class not found: "application.Home_Made"
(java.lang.ClassNotFoundException: application.Home_Made)
2012-08-13 08:27:25,090 [enerContainer-1] INFO UserDao - UserDao - findUser
2012-08-13 08:27:25,097 [enerContainer-1] INFO FileRepository - Generating input file: 96b65ff1/a70c/47ea/acd8/26a3c36dcd98/sfsdfsdfsdscivil.jpg
I would like to catch the error that "application.Home_Made" is unavailable.
Thank you very much in advance,
Best,
Re: How to get information from console during application is running
Quote:
Originally Posted by
gael.anex
...I would like to catch the error that "application.Home_Made" is unavailable...
read this page and the next several pages of the tutorial