01 /*
02 Copyright (c) 2005 Garrett Smith
03 The MIT License
04 
05 Permission is hereby granted, free of charge, to any person obtaining a copy 
06 of this software and associated documentation files (the "Software"), to deal
07 in the Software without restriction, including without limitation the rights
08 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
09 copies of the Software, and to permit persons to whom the Software is 
10 furnished to do so, subject to the following conditions:
11 
12 The above copyright notice and this permission notice shall be included in all 
13 copies or substantial portions of the Software.
14 
15 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
17 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
18 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
19 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
21 THE SOFTWARE.
22 */
23 
24 // $Id: NoMoreCardsException.java.html,v 1.1 2005/06/14 06:50:55 gsmith Exp $
25 
26 package garrettsmith.playingcards;
27 
28 /**
29  * Thrown when a card is requested from a collection but that collection has no
30  * more cards left.
31  *
32  @author Garrett Smith, gsmith at northwestern dot edu
33  @version Blackjack 1.0
34  @since Blackjack 1.0
35  */
36 public class NoMoreCardsException extends RuntimeException {
37 
38     /**
39      * Creates an exception with the specified detail message.
40      *
41      @param msg English description of the condition that caused the
42      *       exception.
43      */
44     public
45     NoMoreCardsExceptionString msg ) {
46         supermsg );
47     }
48 
49 // class NoMoreCardsException