tracker issue : CF-3038592

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 77286:(Watson Migration Closure)throw keyword should accept two arguments, type and message

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Elliott Sprehn / Elliott Sprehn (Elliott Sprehn)

Created: 05/15/2009

Components: Language

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

throw keyword should accept two arguments, type and message.

throw "MissingFile";

throw "MissingFile", "The file #fileName# is missing";

throw type, message;

The type argument is very important because you can't catch any error thrown without it. I don't think we should make the first argument be message because that's going to make most exceptions people throw uncatchable without an "any" catch which does all kinds of badness for debugging or weird errors.
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3038592

External Customer Info:
External Company:  
External Customer Name: Elliott Sprehn
External Customer Email: 202D59C844579997992016B7
External Test Config: 05/15/2009

Attachments:

Comments: