org.jboss.util
Class CoercionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.util.NestedRuntimeException (src)
org.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
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 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 |
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.