vooga.gameEngine.exception
Class MissingResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by vooga.gameEngine.exception.VOOGAEngineException
                  extended by vooga.gameEngine.exception.MissingResourceException
All Implemented Interfaces:
java.io.Serializable

public class MissingResourceException
extends VOOGAEngineException

Exception to be thrown when a URL does not contain the desired information to be drawn from it.

Author:
Scott Brothers
See Also:
Serialized Form

Constructor Summary
MissingResourceException(java.lang.Class<?> desiredItem, java.lang.String path)
           
MissingResourceException(java.lang.Class<?> desiredItem, java.net.URL url)
           
 
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

MissingResourceException

public MissingResourceException(java.lang.Class<?> desiredItem,
                                java.net.URL url)
Parameters:
desiredItem - that is missing
url - from which the desired item cannot be drawn

MissingResourceException

public MissingResourceException(java.lang.Class<?> desiredItem,
                                java.lang.String path)
Parameters:
desiredItem - that is missing
path - from which the desired item cannot be drawn