All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javaprinciples.resource.ResourceException Maven / Gradle / Ivy

There is a newer version: 3.0.3
Show newest version
package net.sf.javaprinciples.resource;

/**
 * Base Exception class for exceptions thrown by the Resource framework.
 * @author rvl
 */
@SuppressWarnings("serial")
public class ResourceException extends Exception
{
    /**
     * Construct a ResourceException with a message and a throwable.
     * @param msg The message for the exception.
     * @param exception The exception that caused this exception to be thrown.
     */
    public ResourceException(String msg, Throwable exception)
    {
        super(msg, exception);
    }

    /**
     * Construct a ResourceException with only a message.
     * @param msg The message for the exception.
     */
    public ResourceException(String msg)
    {
        super(msg);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy