站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 common API Documentation 英文版文档

CoercionException (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档


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
                  extended byorg.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.



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