org.alweb.doff.util.error
Interface ErrorProducer
- All Known Implementing Classes:
- AbstractHttpAuthenticationFilter, Controller, Debugger, ErrorContainer, Filter, Service
public interface ErrorProducer
Implementations of this interface are able to produce errors. Your model
classes can implements this interface or extends ErrorContainer class
in order to raise errors.
- Since:
- 1.4
- Author:
- Alexis Toulotte
getErrors
Collection<ErrorMessage> getErrors()
- Returns a collection of all errors on this object. The returned
collection must never be null. An empty collection means that this object
in not in error state.