-footer

garrettsmith.playingcards
Class NoMoreCardsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by garrettsmith.playingcards.NoMoreCardsException
All Implemented Interfaces:
java.io.Serializable

public class NoMoreCardsException
extends java.lang.RuntimeException

Thrown when a card is requested from a collection but that collection has no more cards left.

Since:
Blackjack 1.0
Version:
Blackjack 1.0
Author:
Garrett Smith, gsmith at northwestern dot edu
See Also:
Serialized Form

Constructor Summary
NoMoreCardsException(java.lang.String msg)
          Creates an exception with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoMoreCardsException

public NoMoreCardsException(java.lang.String msg)
Creates an exception with the specified detail message.

Parameters:
msg - English description of the condition that caused the exception.

-footer

Copyright 2001-5 Garrett Smith. Use is subject to license terms.