summaryrefslogtreecommitdiffstats
path: root/src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java')
-rw-r--r--src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java b/src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java
new file mode 100644
index 0000000..b6428ef
--- /dev/null
+++ b/src/com/joshwalters/bookcatalog/bookdatabase/BookAlreadyInDatabase.java
@@ -0,0 +1,34 @@
+/*
+ * Book Catalog - Catalog your book collection.
+ *
+ * Copyright (C) 2009 Joshua Walters
+ * URL: http://joshwalters.com
+ *
+ * This file is part of Book Catalog.
+ *
+ * Book Catalog is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Book Catalog is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Book Catalog. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+package com.joshwalters.bookcatalog.bookdatabase;
+
+/**
+ * Thrown if the book is already in the database.
+ *
+ * @author Josh Walters
+ */
+public class BookAlreadyInDatabase extends Exception {
+
+ /** The serial ID */
+ private static final long serialVersionUID = -433273330040981967L;
+} \ No newline at end of file