Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.util
Class CoercionException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  org.jboss.util.NestedRuntimeException
                      org.jboss.util.CoercionException

All Implemented Interfaces:
  NestedThrowable, Serializable

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 inherited from class 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`.

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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.