public interface ExceptionConverter {
...
RuntimeException convert(HibernateException e, LockOptions lockOptions);
RuntimeException convert(HibernateException e);
RuntimeException convert(RuntimeException e);
RuntimeException convert(RuntimeException e, LockOptions lockOptions);
...
}