org.apache.geronimo.common
Class CoercionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.apache.geronimo.common.CoercionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NotCoercibleException

public class CoercionException
extends RuntimeException

This exception is thrown to indicate that a problem has occured while trying to coerce an object.

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:58:25 $
See Also:
Serialized Form

Constructor Summary
CoercionException()
          Construct a CoercionException with no detail.
CoercionException(String msg)
          Construct a CoercionException with the specified detail message.
CoercionException(String msg, Throwable nested)
          Construct a CoercionException with the specified detail message and nested Throwable.
CoercionException(Throwable nested)
          Construct a CoercionException with the specified nested Throwable.
 
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

CoercionException

public CoercionException(String msg)
Construct a CoercionException with the specified detail message.

Parameters:
msg - Detail message.

CoercionException

public CoercionException(String msg,
                         Throwable nested)
Construct a CoercionException with the specified detail message and nested Throwable.

Parameters:
msg - Detail message.
nested - Nested Throwable.

CoercionException

public CoercionException(Throwable nested)
Construct a CoercionException with the specified nested Throwable.

Parameters:
nested - Nested Throwable.

CoercionException

public CoercionException()
Construct a CoercionException with no detail.



Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.