com.primix.tapestry
Class ResourceUnavailableException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.primix.tapestry.ResourceUnavailableException
All Implemented Interfaces:
java.io.Serializable

public class ResourceUnavailableException
extends java.lang.Exception

Exception thrown when a resource is not available, because it is not found, or could not be used. The latter case occurs with files which must be parsed or processed once located, such as component specification files.

Version:
$Id: ResourceUnavailableException.java,v 1.4 2001/05/02 14:15:15 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Constructor Summary
ResourceUnavailableException(java.lang.String message)
          Constructor when no underlying exception is known.
ResourceUnavailableException(java.lang.String message, java.lang.Throwable rootCause)
          Standard constructor
 
Method Summary
 java.lang.Throwable getRootCause()
           
 
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

ResourceUnavailableException

public ResourceUnavailableException(java.lang.String message)
Constructor when no underlying exception is known.
Parameters:
message - Describes the resource and the reason it is unavailable.

ResourceUnavailableException

public ResourceUnavailableException(java.lang.String message,
                                    java.lang.Throwable rootCause)
Standard constructor
Parameters:
message - Describes the resource and the reason it is unavailable.
rootCause - Exception which made the resource unavailable.
Method Detail

getRootCause

public java.lang.Throwable getRootCause()