Java tutorial
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.oak_yoga_studio.validators; import org.springframework.validation.Errors; import org.springframework.validation.Validator; /** * * @author Weldu */ public class FormValidator implements Validator { @Override public boolean supports(Class<?> type) { throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } @Override public void validate(Object o, Errors errors) { System.out.println("in the errors validator"); throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. } }