aboutsummaryrefslogtreecommitdiff
path: root/Week9 Webshop/src/com/camilstaps/shop/DuplicateEntryException.java
blob: a91d7c7326904d213b41ecf02dd61a3a3cb5dd8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 {
}