diff options
author | Camil Staps | 2015-04-18 13:44:44 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-18 13:44:44 +0200 |
commit | 6a44b074f0169a1b0f9e92347af929c5e471746e (patch) | |
tree | ae5663fe7c69881bf4ecfedbef99c2505f8ec964 /Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java | |
parent | Added copyright to docs (diff) |
Reorganised projects
Diffstat (limited to 'Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java')
-rw-r--r-- | Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java b/Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java new file mode 100644 index 0000000..a91d7c7 --- /dev/null +++ b/Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java @@ -0,0 +1,18 @@ +/** + * Copyright (c) 2015 Camil Staps <info@camilstaps.nl> + * See the LICENSE file for copying permission. + */ + +package com.camilstaps.shop; + +/** + * This Exception is thrown when an attempt is made to add a DatabaseItem to the + * Database which gives a uniqueness conflict, such as: + * * An article with the same name exists + * * A category with the same name exists + * * A user with the same number exists + * + * @author Camil Staps, s4498062 + */ +public class DuplicateEntryException extends Exception { +} |