Class Errors


  • public class Errors
    extends Object
    A collection of validation errors.
    • Constructor Detail

      • Errors

        public Errors()
    • Method Detail

      • addError

        public void addError​(String field,
                             String code)
      • hasErrors

        public boolean hasErrors()
      • merge

        public Errors merge​(Errors other)
        Combine the errors in this object with the errors in another.
      • toList

        public List<org.sakaiproject.pasystem.api.Errors.Error> toList()