RFC #0164: Exceptions for XPClass::get*()at 2008-07-14 in RFCs by friebe (0 comments) Scope of ChangeThe following methods in lang.XPClass will throw exceptions instead of returning NULL for the case the respective element is not found:
Rationale Allow for chaining, be consistent with other APIs (if a hasX method exists, the getX method will throw an exception) and the getAnnotation() method. Read the full RFC here |
|