DomainException has no method getErrors, replace by getMessage