/***************************************
* *
* JBoss: The OpenSource J2EE WebOS *
* *
* Distributable under LGPL license. *
* See terms of license at gnu.org. *
* *
***************************************/
package org.jboss.util;
/**
* Thrown to indicate to an encapsulated try/catch block that something has
* happened and it was not harmfull.
*
* @version $Revision: 1.1 $
* @author Jason Dillon
*/
public class BenignError
extends NestedError
{
/**
* Construct a BenignError with the specified
* detail message.
*
* @param msg Detail message.
*/
public BenignError(final String msg) {
super(msg);
}
/**
* Construct a BenignError with the specified
* detail message and nested Throwable.
*
* @param msg Detail message.
* @param nested Nested Throwable.
*/
public BenignError(final String msg, final Throwable nested) {
super(msg, nested);
}
/**
* Construct a BenignError with the specified
* nested Throwable.
*
* @param nested Nested Throwable.
*/
public BenignError(final Throwable nested) {
super(nested);
}
/**
* Construct a BenignError with no detail.
*/
public BenignError() {
super();
}
}