Some resource owners can define its own error messages so for extending purposes visibility of this method changed to protected