@Override protected void validateOnCreate(MonitorEngine engine) throws ValidationException { super.validateOnCreate(engine); MonitorEngine exist = findByAddress(engine.getAddress()); if (exist != null) { throw new ValidationException("There is an engine with address " + engine.getAddress()); } }