assignment6
Class CapacityExceededException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by assignment6.CapacityExceededException
All Implemented Interfaces:
java.io.Serializable

public class CapacityExceededException
extends java.lang.RuntimeException

Thrown when Naturalist.collect is called, but the naturalist is already carrying the maximum number of animals.

See Also:
Serialized Form

Constructor Summary
CapacityExceededException()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CapacityExceededException

public CapacityExceededException()