EmptyCollectionException - { /** * Sets up this exception...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
/** * EmptyCollectionException represents the situation in which a collection * is empty. * * @author Dr. Lewis * @author Dr. DePasqaule * @author Dr. Chase * @version 1.0, 08/12/08 */ package javafoundations.exceptions; p public class EmptyCollectionException extends RuntimeException
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { /** * Sets up this exception with an appropriate message. */ public EmptyCollectionException (String collection) { super ("The " + collection + " is empty."); } }...
View Full Document

Ask a homework question - tutors are online