| 1497 | |
| 1498 | == `[GetterRaisesException]`(a), `[SetterRaisesException]`(a) == #RaisesException |
| 1499 | |
| 1500 | Standard: This is a non-standard attribute. |
| 1501 | |
| 1502 | Summary: Indicates that the attribute getter / setter may raise exceptions. |
| 1503 | |
| 1504 | The generator will pass by reference an additional "ExceptionCode" parameter to the corresponding implementation method so that an exception code can be returned. |
| 1505 | |
| 1506 | Usage: `[GetterRaisesException]` / `[SetterRaisesException]` can be specified on attributes. |
| 1507 | |
| 1508 | {{{ |
| 1509 | interface XXX { |
| 1510 | [GetterRaisesException] attribute DOMString a; |
| 1511 | [SetterRaisesException] attribute DOMString b; |
| 1512 | [GetterRaisesException, SetterRaisesException] attribute DOMString c; |
| 1513 | }; |
| 1514 | }}} |