/*************************************** * * * 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 an object was not coercible. * * @version $Revision: 1.1 $ * @author Jason Dillon */ public class NotCoercibleException extends CoercionException { /** * Construct a NotCoercibleException with the specified detail * message. * * @param msg Detail message. */ public NotCoercibleException(String msg) { super(msg); } /** * Construct a NotCoercibleException with the specified detail * message and nested Throwable. * * @param msg Detail message. * @param nested Nested Throwable. */ public NotCoercibleException(String msg, Throwable nested) { super(msg, nested); } /** * Construct a NotCoercibleException with the specified * nested Throwable. * * @param nested Nested Throwable. */ public NotCoercibleException(Throwable nested) { super(nested); } /** * Construct a NotCoercibleException with no detail. */ public NotCoercibleException() { super(); } /** * Construct a NotCoercibleException with an object detail. * * @param obj Object detail. */ public NotCoercibleException(Object obj) { super(String.valueOf(obj)); } }