Right on both counts. The pop-up would be for exceptions that the developers haven't thought of or that are irrecoverable. Tshould there be an org.brailleblaster.Log class? John On Fri, Jan 25, 2013 at 07:04:10PM +0000, Keith Creasy wrote: > You probably don't want to pop up a dialog for every exception. Some > exceptions can be recovered from with no ill effects to the user. In such > cases a pop-up dialog would be very annoying. > > There should however be a way to log exceptions so that it is possible to > diagnose them. > > > Keith Creasy > Software Developer > American Printing House for the Blind > KCreasy@xxxxxxx > Phone: 502.895.2405 > Skype: keith537 > > > -----Original Message----- > From: brailleblaster-bounce@xxxxxxxxxxxxx > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > Sent: Friday, January 25, 2013 1:59 PM > To: brailleblaster@xxxxxxxxxxxxx > Subject: [brailleblaster] Catching exceptions that occur anywhere: was Re: > Re: Braille Fonts > > This is a start. Are you saying that a try block and a catch for the Class > Exception in main will catch any exception in the program? All I want the > dialog box to do is print the exception message and maybe tell where to > contact the developers. When the OK button is pressed, then BrailleBlaster > should terminate. > > John > > On Fri, Jan 25, 2013 at 05:16:45PM +0000, Michael Whapples wrote: > > Short answer yes. > > > > Longer answer is depends how much work you want to spend on it. > > > > Simply put, have a try/catch block catching all exceptions/errors > > (exercise: find the class all exceptions and errors inherit from) at > > the appropriate level (may be even in public static void main, > > although you may find recovering from there is difficult) and have > > code within the catch block which gets the exception information and > > puts it inside a message box and does what it can to recover if possible. > > > > Michael Whapples > > On 25/01/2013 15:56, John J. Boyer wrote: > > >Hi Brandon, > > >What class is this dialog in? I'll have a look at BBIni . When I get > > >this dialog BrailleBlaster terminates. > > > > > >Is there a way to make the program pop up a dialog box when an > > >exception occurs instead of just quitting? > > > > > >Thanks, > > >John > > > > > >On Fri, Jan 25, 2013 at 09:48:32AM -0500, Brandon Roller wrote: > > >>John, > > >>I have seen that dialog too. > > >>I think there are bugs in the BBIni.java file and how it finds a > > >>path to the BB directory. > > >>So the braille fonts are there, it's just that the correct path was > > >>not established on initialization. > > >> > > >> > > >>-Brandon > > >> > > >> > > >>On Fri, Jan 25, 2013 at 9:42 AM, Vic Beckley > > >><vic.beckley3@xxxxxxxxx> > > >>wrote: > > >> > > >>>John, > > >>> > > >>>Strange. I'm not getting this. I am also running from the latest > > >>>repository. > > >>> > > >>> > > >>>-----Original Message----- > > >>>From: brailleblaster-bounce@xxxxxxxxxxxxx > > >>>[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. > > >>>Boyer > > >>>Sent: Friday, January 25, 2013 8:59 AM > > >>>To: brailleblaster@xxxxxxxxxxxxx > > >>>Subject: [brailleblaster] Braille Fonts > > >>> > > >>>I have just updated to the latest newdesign repository. When I run > > >>>BrailleBlaster to debug the crash I get a dialog saying that the > > >>>Braille font cannot be found. Whatever font this is, it should be > > >>>in the fonts directory in the repository, since it won't change. > > >>> > > >>>I see from the liblouis list that there is a font to display dot > > >>>patterns for Unicode Braille. Do we have this? If not, it should > > >>>also be in the fonts directory. > > >>> > > >>>Thanks, > > >>>John > > >>> > > >>>-- > > >>>John J. Boyer; President, Chief Software Developer Abilitiessoft, > > >>>Inc. > > >>>http://www.abilitiessoft.com > > >>>Madison, Wisconsin USA > > >>>Developing software for people with disabilities > > >>> > > >>> > > >>> > > >>> > > > > -- > John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. > http://www.abilitiessoft.com > Madison, Wisconsin USA > Developing software for people with disabilities > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities