Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » CalendarCombo Error Handling
CalendarCombo Error Handling [message #595712] Fri, 17 July 2009 17:34
Eric Jain is currently offline Eric JainFriend
Messages: 266
Registered: July 2009
Senior Member
If I edit the date in a CalendarCombo directly and enter an invalid
format, the following exception is thrown:

org.eclipse.nebula.widgets.calendarcombo.CalendarDateParseEx ception: Date
format does not match date string in terms of splitter character numbers
org.eclipse.nebula.widgets.calendarcombo.DateHelper.slashPar se(
org.eclipse.nebula.widgets.calendarcombo.CalendarCombo.parse TextDate(
org.eclipse.nebula.widgets.calendarcombo.CalendarCombo.acces s$7(
org.eclipse.nebula.widgets.calendarcombo.CalendarCombo$2.han dleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent( :84)

How do I catch this exception so I can provide the user with some useful
feedback? My current workaround is to make the CalendarCombo
Previous Topic:CalendarCombo Date Format
Next Topic:CalendarCombo Date Format
Goto Forum:

Current Time: Thu Oct 01 01:11:56 GMT 2020

Powered by FUDForum. Page generated in 0.03158 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top