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

ResourceWarning (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档


javax.resource.cci
Class ResourceWarning

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.resource.ResourceException
              extended byjavax.resource.cci.ResourceWarning
All Implemented Interfaces:
Serializable

public class ResourceWarning
extends ResourceException

ResourceWarning provides information on warnings generated by the underlying resource. They are chained to an Interaction object for later retrieval.

See Also:
Serialized Form

Constructor Summary
ResourceWarning(String reason)
          Create an warning with a reason.
ResourceWarning(String reason, String errorCode)
          Create an warning with a reason and an errorCode.
 
Method Summary
 ResourceWarning getLinkedWarning()
          Get any linked warning.
 void setLinkedWarning(ResourceWarning linkedWarning)
          Set a linked warning.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceWarning

public ResourceWarning(String reason)
Create an warning with a reason.


ResourceWarning

public ResourceWarning(String reason,
                       String errorCode)
Create an warning with a reason and an errorCode.

Method Detail

setLinkedWarning

public void setLinkedWarning(ResourceWarning linkedWarning)
Set a linked warning.


getLinkedWarning

public ResourceWarning getLinkedWarning()
Get any linked warning.



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