net.sf.javaprinciples.resource
Class ResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.sf.javaprinciples.resource.ResourceException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceNotFoundException, ResourceParseException, ResourceSecurityException

public class ResourceException
extends Exception

Base Exception class for exceptions thrown by the Resource framework.

Author:
rvl
See Also:
Serialized Form

Constructor Summary
ResourceException(String msg)
          Construct a ResourceException with only a message.
ResourceException(String msg, Throwable exception)
          Construct a ResourceException with a message and a throwable.
 
Method Summary
 
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

ResourceException

public ResourceException(String msg,
                         Throwable exception)
Construct a ResourceException with a message and a throwable.

Parameters:
msg - The message for the exception.
exception - The exception that caused this exception to be thrown.

ResourceException

public ResourceException(String msg)
Construct a ResourceException with only a message.

Parameters:
msg - The message for the exception.


Copyright © 2013. All Rights Reserved.