Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.loader
Class MissingResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tuscany.api.TuscanyException
              extended by org.apache.tuscany.spi.loader.LoaderException
                  extended by org.apache.tuscany.spi.loader.MissingResourceException
All Implemented Interfaces:
Serializable

public class MissingResourceException
extends LoaderException

Exception that indicates an expected resource could not be found. The message should be set to the name of the resource.

Version:
$Rev: 430937 $ $Date: 2006-08-11 18:17:56 -0700 (Fri, 11 Aug 2006) $
See Also:
Serialized Form

Constructor Summary
MissingResourceException(String resource)
          Constructor that indicates which resource could not be found.
MissingResourceException(String resource, Throwable cause)
          Constructor that indicates which resource could not be found.
 
Method Summary
 
Methods inherited from class org.apache.tuscany.spi.loader.LoaderException
getResourceURI, setResourceURI
 
Methods inherited from class org.apache.tuscany.api.TuscanyException
addContextName, getIdentifier, getMessage, returnContextNames, setIdentifier
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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(String resource)
Constructor that indicates which resource could not be found. The supplied parameter is also returned as the message.

Parameters:
resource - the resource that could not be found

MissingResourceException

public MissingResourceException(String resource,
                                Throwable cause)
Constructor that indicates which resource could not be found. The supplied parameter is also returned as the message.

Parameters:
resource - the resource that could not be found

Apache Tuscany SCA Kernel Sub-Project

-