Coding standards
From DarkWiki
Object properties
Getters
- Do not throw exceptions*. A getter should provide access to the field, and should not result in an exception. There are occasions when this rule can be relaxed (such as indeterminable exceptions like OutOfMemoryException), but things like NullPointerExceptions should not occur.
- Must be repeatable*.