1 package net.ramapuram.thomas.service;
2
3
4 /**
5 * An exception that is thrown by classes wanting to trap unique
6 * constraint violations. This is used to wrap Spring's
7 * DataIntegrityViolationException so it's checked in the web layer.
8 *
9 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
10 */
11 public class UserExistsException extends Exception {
12 private static final long serialVersionUID = 4050482305178810162L;
13
14 /**
15 * Constructor for UserExistsException.
16 *
17 * @param message exception message
18 */
19 public UserExistsException(final String message) {
20 super(message);
21 }
22 }