org.jscience.util
Class ResourceNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jscience.util.ResourceNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ResourceNotFoundException
extends java.lang.RuntimeException

Thrown to indicate that a specific resource (an image, a sound, etc.) needed to perform the requested operation was not found (while the resource was expected to be present with the distribution of this Antelmann.com framework).

Since:
4/6/2002
See Also:
Settings.getResource(String), Serialized Form

Constructor Summary
ResourceNotFoundException()
          Creates a new ResourceNotFoundException object.
ResourceNotFoundException(java.lang.String message)
          Creates a new ResourceNotFoundException object.
ResourceNotFoundException(java.lang.String message, java.lang.Object resource)
          Creates a new ResourceNotFoundException object.
 
Method Summary
 java.lang.Object getResourceNotFound()
          DOCUMENT ME!
 
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

ResourceNotFoundException

public ResourceNotFoundException()
Creates a new ResourceNotFoundException object.


ResourceNotFoundException

public ResourceNotFoundException(java.lang.String message)
Creates a new ResourceNotFoundException object.

Parameters:
message - DOCUMENT ME!

ResourceNotFoundException

public ResourceNotFoundException(java.lang.String message,
                                 java.lang.Object resource)
Creates a new ResourceNotFoundException object.

Parameters:
message - DOCUMENT ME!
resource - DOCUMENT ME!
Method Detail

getResourceNotFound

public java.lang.Object getResourceNotFound()
DOCUMENT ME!

Returns:
DOCUMENT ME!