1 package uk.ac.ebi.intenz.domain.exceptions; 2 3 4 /** 5 * If an error regarding an enzyme name occurs this exception should be thrown. 6 * <p/> 7 * Currently this <code>Exception</code> is thrown when: 8 * <ul> 9 * <li>a client tries to store more than 2 common names for the same enzyme</li> 10 * <li>a client attempts to store an empty list of common names</li> 11 * <li>a name has the wrong type associated (see {@link uk.ac.ebi.intenz.domain.constants.EnzymeNameTypeConstant})</li> 12 * </ul> 13 * 14 * @author Michael Darsow 15 * @version $Revision: 1.2 $ $Date: 2008/01/28 12:33:08 $ 16 */ 17 public class EnzymeNameException extends DomainException { 18 19 private static final long serialVersionUID = 5676315508371150769L; 20 21 public EnzymeNameException(){} 22 23 public EnzymeNameException(String message) { 24 super(message); 25 } 26 }