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 29916 - Error Message from the DB Server be not shown as exception
Summary: Error Message from the DB Server be not shown as exception
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: Radko Najman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-09 20:40 UTC by Sakthivel Gopal
Modified: 2003-02-14 19:20 UTC (History)
1 user (show)

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 Sakthivel Gopal 2003-01-09 20:40:42 UTC
I was trying to delete/drop a table from runtime
tab under the connection, i got this exception :

Thu Jan 09 12:32:40 PST 2003: java.io.IOException:
Unable to execute command:
drop table "SAKTHI"."JIVEFORUM"
ORA-02449: unique/primary keys in table referenced
by foreign keys
java.io.IOException: Unable to execute command:
drop table "SAKTHI"."JIVEFORUM"
ORA-02449: unique/primary keys in table referenced
by foreign keys
        at
org.netbeans.modules.db.explorer.infos.TableNodeInfo.delete(TableNodeInfo.java:261)
        at
org.netbeans.modules.db.explorer.nodes.DatabaseNode.destroy(DatabaseNode.java:158)
        at
org.openide.explorer.ExplorerActions$DeleteActionPerformer$DestroyAtomic.invoke(ExplorerActions.java:527)
        at $Proxy3.run(Unknown Source)
        at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89)
        at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:388)
        at
org.openide.explorer.ExplorerActions$DestroyInvoker.run(ExplorerActions.java:568)
        at
org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(ExplorerActions.java:494)
        at
org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:463)
        at
org.openide.util.actions.CallbackSystemAction.performAction(CallbackSystemAction.java:109)
        at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:69)
        at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:105)
        at org.openide.util.Task.run(Task.java:152)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
Comment 1 Radko Najman 2003-01-14 13:46:57 UTC
Fixed in trunk.
Dialog with error message is displayed to the user. Exception is shown
only if netbeans.debug.exceptions is set.
Comment 2 Sakthivel Gopal 2003-02-14 19:20:19 UTC
Verified in Nevada Build 030213