View Javadoc
1 package org.smartcomps.twister.common.persistence; 2 3 import org.smartcomps.twister.engine.exception.EngineException; 4 5 /*** 6 * Thrown when the result obtained after executing a finder is not consistent 7 * with the finder (i.e. a findById that returns no result or a findByName 8 * that returns many result when names are supposed to be unique). Usually 9 * thrown when the finder parameters are not accurate or when there are 10 * incoherent data in the database. 11 */ 12 public class FinderException extends EngineException { 13 public FinderException(String s) { 14 super(s); 15 } 16 17 public FinderException(String s, Throwable throwable) { 18 super(s, throwable); 19 } 20 21 public FinderException(Throwable throwable) { 22 super(throwable); 23 } 24 }

This page was automatically generated by Maven