package com.opentravelsoft.service; /** * An exception that is thrown by classes wanting to trap unique * constraint violations. This is used to wrap Spring's * DataIntegrityViolationException so it's checked in the web layer. * */ public class UserExistsException extends Exception { private static final long serialVersionUID = 4050482305178810162L; /** * Constructor for UserExistsException. * * @param message exception message */ public UserExistsException(final String message) { super(message); } }