This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 33687 - Handling of fatal parsing errors
Summary: Handling of fatal parsing errors
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks: 32212
  Show dependency tree
 
Reported: 2003-05-16 15:17 UTC by mslama
Modified: 2008-12-23 12:25 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2003-05-16 15:17:27 UTC
If there is some fatal error during parsing of
configuration file (for example when file is empty
or there is name mismatch between file name and
name in data) it is not possible to create valid
instance of configuration data class -> parser
should probably log it (it is already done) and
return null. null return value must be correctly
handled by caller (its parent like WindowManager
-> Mode). This behaviour is also covered by unit
tests.
Comment 1 mslama 2003-06-18 15:44:14 UTC
Finished.