com.anthonyeden.lib.resource
Class ResourceException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.anthonyeden.lib.ChainedException
              extended bycom.anthonyeden.lib.resource.ResourceException
All Implemented Interfaces:
java.io.Serializable

public class ResourceException
extends ChainedException

Exception thrown when there is an error loading a resource.

Author:
Anthony Eden
See Also:
Serialized Form

Constructor Summary
ResourceException(java.lang.String message)
          Construct a ResourceException with the given message.
ResourceException(java.lang.String message, java.lang.Throwable t)
          Construct a ResourceException with the given message and error.
ResourceException(java.lang.Throwable t)
          Construct a ResourceException with the given error.
 
Methods inherited from class com.anthonyeden.lib.ChainedException
getNestedError, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceException

public ResourceException(java.lang.String message)
Construct a ResourceException with the given message.

Parameters:
message - The message

ResourceException

public ResourceException(java.lang.Throwable t)
Construct a ResourceException with the given error. The new ResourceException will use the nested exception's message for its own message.

Parameters:
t - The error

ResourceException

public ResourceException(java.lang.String message,
                         java.lang.Throwable t)
Construct a ResourceException with the given message and error.

Parameters:
message - The message
t - The error


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.