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 - MDRepository.createExtent -- what if it already exists
Summary: MDRepository.createExtent -- what if it already exists
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-17 08:47 UTC by _ briansmith
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.