1 package org.gnomekr.potron.service; 2 3 /*** 4 * AlreadyCheckedOutException.java 5 * @author Xavier Cho 6 * @version $Revision: 1.1 $ $Date: 2005/06/30 08:59:50 $ 7 */ 8 public class AlreadyCheckedOutException extends Exception { 9 10 private static final long serialVersionUID = -8177019162952912443L; 11 12 private String userName; 13 14 public AlreadyCheckedOutException(final String userName) { 15 this.userName = userName; 16 } 17 18 /*** 19 * @param message 20 */ 21 public AlreadyCheckedOutException( 22 final String userName, 23 final String message) { 24 super(message); 25 this.userName = userName; 26 } 27 28 public String getUserName() { 29 return userName; 30 } 31 }