Closed Bug 15507 Opened 27 years ago Closed 25 years ago

Translate XPCOM error codes to Java exceptions

Categories

(Core Graveyard :: Java to XPCOM Bridge, enhancement, P3)

enhancement

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: frankm, Assigned: blackconnect)

Details

Attachments

(1 file)

If a C++ XPCOM method returns a negative error code, the JNI code should raise a Java exception (of class org.mozilla.java.XPCExeption?) containing the error code and ideally some informative text.
Assign to self, until other help emerges.
Frank Mitchell no longer works at Sun and his email is bouncing. Reassigning his 21 bugs to george for reassignment.
Assignee: frankm → drapeau
Status: ASSIGNED → NEW
Re-assigning to lead engineer of BlackConnect, Igor Kushnirskiy.
Assignee: drapeau → idk
Status: NEW → ASSIGNED
Attached patch suggested fix — — Splinter Review
fix checked in to the trunk. closing as fixed. In case fairule happend on c++ side org.mozilla.xpcom.XPCOMException get trown.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
QA Contact: leila.garin → avm
Resolution: --- → FIXED
Verified on NT with mozilla branch NETSCAPE_6_2_RELEASE and blackwood branch from source. Added myself to cc list.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: