001/* 002 * BioJava development code 003 * 004 * This code may be freely distributed and modified under the 005 * terms of the GNU Lesser General Public Licence. This should 006 * be distributed with the code. If you do not have a copy, 007 * see: 008 * 009 * http://www.gnu.org/copyleft/lesser.html 010 * 011 * Copyright for this code is held jointly by the individual 012 * authors. These should be listed in @author doc comments. 013 * 014 * For more information on the BioJava project and its aims, 015 * or to join the biojava-l mailing list, visit the home page 016 * at: 017 * 018 * http://www.biojava.org/ 019 * 020 */ 021 022package org.biojavax; 023 024/** 025 * An exception that indicates that an attempt to resolve a <code>CrossRef</code> 026 * has failed. 027 * 028 * @author Mark Schreiber 029 * @since 1.5 030 */ 031public class CrossReferenceResolutionException extends Exception{ 032 033 /** Creates a new instance of CrossReferenceResolutionException */ 034 public CrossReferenceResolutionException() { 035 super(); 036 } 037 038 /** 039 * Creates a new instance of CrossReferenceResolutionException with a 040 * message. 041 * @param message a description or reason for the exception. 042 */ 043 public CrossReferenceResolutionException(String message) { 044 super(message); 045 } 046 047 /** 048 * Creates a new instance of CrossReferenceResolutionException with a 049 * message and a cause. 050 * @param message a description or reason for the exception. 051 * @param cause the exception that caused this one. 052 */ 053 public CrossReferenceResolutionException(String message, Throwable cause){ 054 super(message, cause); 055 } 056 057 /** 058 * Creates a new instance of CrossReferenceResolutionException with a 059 * cause. 060 * @param cause the exception that caused this one. 061 */ 062 public CrossReferenceResolutionException(Throwable cause) { 063 super(cause); 064 } 065}