001// Copyright (C) 1998-2001 by Jason Hunter <jhunter_AT_acm_DOT_org>. 002// All rights reserved. Use of this class is limited. 003// Please see the LICENSE for more information. 004 005package com.oreilly.servlet; 006 007/** 008 * Thrown to indicate a cookie does not exist. 009 * 010 * @see com.oreilly.servlet.CookieParser 011 * 012 * @author <b>Jason Hunter</b>, Copyright © 2000 013 * @version 1.0, 2000/03/19 014 */ 015public class CookieNotFoundException extends Exception { 016 017 /** 018 * Constructs a new CookieNotFoundException with no detail message. 019 */ 020 public CookieNotFoundException() { 021 super(); 022 } 023 024 /** 025 * Constructs a new CookieNotFoundException with the specified 026 * detail message. 027 * 028 * @param s the detail message 029 */ 030 public CookieNotFoundException(String s) { 031 super(s); 032 } 033}