01: /*
02: * DependencyCycleException.java
03: *
04: * This file is part of SQL Workbench/J, http://www.sql-workbench.net
05: *
06: * Copyright 2002-2008, Thomas Kellerer
07: * No part of this code maybe reused without the permission of the author
08: *
09: * To contact the author please send an email to: support@sql-workbench.net
10: *
11: */
12: package workbench.db.importer;
13:
14: /**
15: *
16: * @author support@sql-workbench.net
17: */
18: public class DependencyCycleException extends Exception {
19: public String tablename;
20:
21: public DependencyCycleException(String causedBy) {
22: super ("Cyclic dependency deteteted for table: " + causedBy);
23: tablename = causedBy;
24: }
25:
26: public String getOffendingTablename() {
27: return tablename;
28: }
29: }
|