1 // Copyright (C) 1998-2001 by Jason Hunter <jhunter_AT_acm_DOT_org>. 2 // All rights reserved. Use of this class is limited. 3 // Please see the LICENSE for more information. 4 5 package com.oreilly.servlet; 6 7 /** 8 * Thrown to indicate a cookie does not exist. 9 * 10 * @see com.oreilly.servlet.CookieParser 11 * 12 * @author <b>Jason Hunter</b>, Copyright © 2000 13 * @version 1.0, 2000/03/19 14 */ 15 public class CookieNotFoundException extends Exception { 16 17 /** 18 * Constructs a new CookieNotFoundException with no detail message. 19 */ 20 public CookieNotFoundException() { 21 super(); 22 } 23 24 /** 25 * Constructs a new CookieNotFoundException with the specified 26 * detail message. 27 * 28 * @param s the detail message 29 */ 30 public CookieNotFoundException(String s) { 31 super(s); 32 } 33 } 34