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 25709

Summary: MDRepository.createExtent -- what if it already exists
Product: java Reporter: _ briansmith <briansmith>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:

Description _ briansmith 2002-07-17 08:47:49 UTC
The JavaDoc is not clear about what happens when
MDRepository.createExtent is invoked to create
extents that conflict with the names of existing
extents.

I suggest that MDR should consider this an error
and throw an Exception. An alternative would be to
replace the existing extents.
Comment 1 Martin Matula 2002-07-18 13:28:43 UTC
CreationFailedException is thrown when user attemps to create a new
extent with a duplicate name.