Class CantFindObjectException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--GameException
                    |
                    +--CantFindObjectException
All Implemented Interfaces:
java.io.Serializable

class CantFindObjectException
extends GameException

Thrown if we're trying to find an object and it's not there. Maybe we should return null, but I wanted to learn about exceptions. And sometimes it's easier to code this way, though more expensive.

See Also:
Serialized Form

Constructor Summary
(package private) CantFindObjectException(java.lang.String msg)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CantFindObjectException

CantFindObjectException(java.lang.String msg)