|
From: Bryan T. <bp...@gm...> - 2006-07-24 01:24:00
|
Hi Kurtis, Sorry about the delay in replying. You should be able to do this with log4j, i.e. set up a special logger for this circumstance and route it to an appender that prints a useful message to the console. I don't know the details off the top of my head, but this should be well-documented log4j stuff. Good luck. Bryan On 7/12/06, Kurtis Fraser <fra...@uc...> wrote: > Hello, > > I am currently using SimpleServer in an application I'm developing. In > this app the user has the option to select the port that they want the > server to run on. If an exception is thrown within HAPI because of the > port number causing a problem, it gets logged, but I need a way to know if > this happened so I can tell the user to enter in a different port. I am > not familiar with how the exception logging works with HAPI. Is there a > way that I can determine within my program whether or not an exception > occured within SimpleServer? > > -Kurtis > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Hl7api-devel mailing list > Hl7...@li... > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > |