package devopsdistilled.operp.client.abstracts;

import devopsdistilled.operp.client.items.exceptions.EntityNameExistsException;
import devopsdistilled.operp.client.items.exceptions.NullFieldException;
import devopsdistilled.operp.server.data.entity.Entiti;

public interface EditEntityPaneController<E extends Entiti<?>> {

	public void init(E entity);

	public void validate(E entity) throws NullFieldException,
			EntityNameExistsException;

	public E save(E entity);

}

package devopsdistilled.operp.client.abstracts;

import devopsdistilled.operp.server.data.entity.Entiti;

public interface EditEntityPaneController<E extends Entiti<?>> {

	public void init(E entity);

	public void validate(E entity) throws Exception;

	public E save(E entity);

}

Change validate() declaration