/*************************************** * * * JBoss: The OpenSource J2EE WebOS * * * * Distributable under LGPL license. * * See terms of license at gnu.org. * * * ***************************************/ package org.jboss.util; /** * This exception is thrown to indicate that a problem has occured while * trying to coerce an object. * * @version $Revision: 1.1 $ * @author Jason Dillon */ public class CoercionException extends NestedRuntimeException { /** * Construct a CoercionException with the specified detail * message. * * @param msg Detail message. */ public CoercionException(String msg) { super(msg); } /** * Construct a CoercionException with the specified detail * message and nested Throwable. * * @param msg Detail message. * @param nested Nested Throwable. */ public CoercionException(String msg, Throwable nested) { super(msg, nested); } /** * Construct a CoercionException with the specified * nested Throwable. * * @param nested Nested Throwable. */ public CoercionException(Throwable nested) { super(nested); } /** * Construct a CoercionException with no detail. */ public CoercionException() { super(); } }