1 /***************************************************************************** 2 * Copyright (C) Codehaus.org. All rights reserved. * 3 * ------------------------------------------------------------------------- * 4 * The software in this package is published under the terms of the BSD * 5 * style license a copy of which has been included with this distribution in * 6 * the LICENSE.txt file. * 7 *****************************************************************************/ 8 /* 9 * Created on Mar 5, 2005 10 * 11 * Author Ben Yu 12 * ZBS 13 */ 14 package jfun.yan; 15 16 /** 17 * Represents the error when a cyclic dependency is detected. 18 * <p> 19 * Codehaus.org. 20 * 21 * @author Ben Yu 22 * 23 */ 24 public class CyclicDependencyException extends YanException { 25 /** 26 * Create a CyclicDependencyException object. 27 * @param msg the error message. 28 */ 29 public CyclicDependencyException(String msg) { 30 super(msg); 31 } 32 33 /** 34 * Create a CyclicDependencyException object. 35 */ 36 public CyclicDependencyException() { 37 super("dependency cycle detected"); 38 } 39 40 } 41