public interface Validator<T>
void validate(T object, String name) throws Exception
object
- object to validatename
- short string name of the object. Designed to be used in exception messages.Exception
- appropriate exception if the object is not valid.Copyright © 2016 evolveum. All rights reserved.