org.jboss.util
Class CoercionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.util.NestedRuntimeException
                  extended by org.jboss.util.CoercionException
All Implemented Interfaces:
Serializable, NestedThrowable
Direct Known Subclasses:
NotCoercibleException

public class CoercionException
extends NestedRuntimeException

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

Version:
$Revision: 1.1 $
Author:
Jason Dillon
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.util.NestedThrowable
NestedThrowable.Util
 
Field Summary
 
Fields inherited from class org.jboss.util.NestedRuntimeException
nested
 
Fields inherited from interface org.jboss.util.NestedThrowable
DETECT_DUPLICATE_NESTING, NESTED_TRACE_ENABLED, PARENT_TRACE_ENABLED
 
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.
 
Method Summary
 
Methods inherited from class org.jboss.util.NestedRuntimeException
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(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 © 2002 JBoss Group, LLC. All Rights Reserved.