Closed Bug 864190 Opened 12 years ago Closed 8 years ago

Function should throw exception instead of returning null

Categories

(Calendar :: Internal Components, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mschroeder, Unassigned)

Details

Attachments

(1 file)

Attached patch Patch v1 — — Splinter Review
At https://mxr.mozilla.org/comm-central/source/calendar/base/modules/calProviderUtils.jsm#133 the function should throw the catched exception instead of later returning null. Components.returnCode seems to be more or less deprecated.
Attachment #740128 - Flags: review?(philipp)
Comment on attachment 740128 [details] [diff] [review] Patch v1 I don't know if this has changed, but back when this was written the network code displayed ugly messages and I think also bailed out if the exception is thrown here. Did you verify that?
Comment on attachment 740128 [details] [diff] [review] Patch v1 r- per previous comment. Please either give me proof it is the way to go now or WONTFIX :)
Attachment #740128 - Flags: review?(philipp) → review-
(In reply to Philipp Kewisch [:Fallen] from comment #2) > Comment on attachment 740128 [details] [diff] [review] > Patch v1 > > r- per previous comment. Please either give me proof it is the way to go now > or WONTFIX :) Okay, will try to verify that... when I get my build working again.
Assignee: mschroeder → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false
Resolving as WONTFIX per comment#2.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: