Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.loader
Class LoaderException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InvalidReferenceException, InvalidValueException, MissingImplementationException, MissingIncludeException, MissingMustOverridePropertyException, MissingResourceException, NotOverridablePropertyException, ProcessingException, UndefinedPropertyException, UnexpectedElementException, UnrecognizedElementException

public class LoaderException
extends TuscanyException

Base class for Exceptions raised during the loading process. Loader implementations should throw a subclass of this to indicate the actual problem.

Version:
$Rev: 432109 $ $Date: 2006-08-16 19:01:17 -0700 (Wed, 16 Aug 2006) $
See Also:
Serialized Form

Constructor Summary
LoaderException()
           
LoaderException(String message)
           
LoaderException(String message, Throwable cause)
           
LoaderException(Throwable cause)
           
 
Method Summary
 String getResourceURI()
          Returns the location of the resource that was being loaded.
 void setResourceURI(String resourceURI)
          Sets the location of the resource that was being loaded.
 
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

LoaderException

public LoaderException()

LoaderException

public LoaderException(String message)

LoaderException

public LoaderException(String message,
                       Throwable cause)

LoaderException

public LoaderException(Throwable cause)
Method Detail

getResourceURI

public String getResourceURI()
Returns the location of the resource that was being loaded.

Returns:
the location of the resource that was being loaded

setResourceURI

public void setResourceURI(String resourceURI)
Sets the location of the resource that was being loaded.

Parameters:
resourceURI - the location of the resource that was being loaded

Apache Tuscany SCA Kernel Sub-Project

-