From: Antony C. <an...@sm...> - 2005-06-22 13:24:31
|
How about! logException( PrintWriter out, String sourceClassName, String sourceMethodName, String message, Throwable th, Level level ) logException( String sourceClassName, String sourceMethodName, String message, Throwable th, Level level ) logException( PrintWriter out, String sourceClassName, String sourceMethodName, String message, Throwable th)- level=Severe logException( String sourceClassName, String sourceMethodName, String message, Throwable th) - level=Severe userException( PrintWriter out, Throwable th ) - where message is freindly text On 22 Jun 2005, at 13:17, Matthew Buckett wrote: > Antony Corfield wrote: >>> > Good idea, user exceptions should >>> >>>> contain user-friendly message and could be used to report back to >>>> user (could still be logged at a finer level). Can't see that "You >>>> don't have access rights allowing you to delete sections here." is >>>> output to user in LogBookFacility!? >>> >>> >>> Here: >> Ok, I see you are using it to output message but I was referring to >> original LogBookFacility which I doesn't. > > logException actually outputs the message to the user. Maybe the > method should be renamed to logAndDisplayException()? > > -- > +--Matthew Buckett-----------------------------------------+ > | VLE Developer, Learning Technologies Group | > | Tel: +44 (0) 1865 283660 http://www.oucs.ox.ac.uk/ | > +------------Computing Services, University of Oxford------+ > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |