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

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


javax.resource.spi
Class ResourceAllocationException

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

public class ResourceAllocationException
extends ResourceException

A ResourceAllocationException can be thrown to indicate a failure to allocate system resources such as threads or physical connections.

See Also:
Serialized Form

Constructor Summary
ResourceAllocationException(String reason)
          Create an exception with a reason.
ResourceAllocationException(String reason, String errorCode)
          Create an exception with a reason and an errorCode.
 
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

ResourceAllocationException

public ResourceAllocationException(String reason)
Create an exception with a reason.


ResourceAllocationException

public ResourceAllocationException(String reason,
                                   String errorCode)
Create an exception with a reason and an errorCode.



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