PMD violation fixed by doing the interface right (return false on error)