5 lines
285 B
Plaintext
5 lines
285 B
Plaintext
Property getters should be simple operations that are always safe to call. If exceptions need to be thrown, it is best to convert the property to a method.
|
|
|
|
|
|
It is valid to throw exceptions from indexed property getters and from property setters, which are not detected by this rule.
|