org.jboss.util
Class CoercionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jboss.util.NestedRuntimeException (src) 
                  extended byorg.jboss.util.CoercionException
All Implemented Interfaces:
NestedThrowable (src) , java.io.Serializable
Direct Known Subclasses:
NotCoercibleException (src)

public class CoercionException
extends NestedRuntimeException (src)

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

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.jboss.util.NestedThrowable (src)
NestedThrowable.Util (src)
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedRuntimeException (src)
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable (src)
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
Constructor Summary
CoercionException()
          Construct a CoercionException with no detail.
CoercionException(java.lang.String msg)
          Construct a CoercionException with the specified detail message.
CoercionException(java.lang.String msg, java.lang.Throwable nested)
          Construct a CoercionException with the specified detail message and nested Throwable.
CoercionException(java.lang.Throwable nested)
          Construct a CoercionException with the specified nested Throwable.
 
Methods inherited from class org.jboss.util.NestedRuntimeException (src)
getCause, getMessage, getNested, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CoercionException

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

Parameters:
msg - Detail message.

CoercionException

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

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

CoercionException

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

Parameters:
nested - Nested Throwable.

CoercionException

public CoercionException()
Construct a CoercionException with no detail.