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

WorkRejectedException (JBoss J2EE API) - JBoss 4.0.1 sp1 j2ee API Documentation 英文版文档


javax.resource.spi.work
Class WorkRejectedException

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

public class WorkRejectedException
extends WorkException

Thrown when a work is rejected.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.resource.spi.work.WorkException
INTERNAL, START_TIMED_OUT, TX_CONCURRENT_WORK_DISALLOWED, TX_RECREATE_FAILED, UNDEFINED
 
Constructor Summary
WorkRejectedException()
          Create an exception.
WorkRejectedException(String reason)
          Create an exception with a reason.
WorkRejectedException(String reason, String errorCode)
          Create an exception with a reason and an errorCode.
WorkRejectedException(String reason, Throwable throwable)
          Create an exception with a reason and an error.
WorkRejectedException(Throwable throwable)
          Create an exception with an error.
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, setErrorCode, 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

WorkRejectedException

public WorkRejectedException()
Create an exception.


WorkRejectedException

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

Parameters:
reason - the reason

WorkRejectedException

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

Parameters:
reason - the reason
errorCode - the error code

WorkRejectedException

public WorkRejectedException(String reason,
                             Throwable throwable)
Create an exception with a reason and an error.

Parameters:
reason - the reason
throwable - the error

WorkRejectedException

public WorkRejectedException(Throwable throwable)
Create an exception with an error.

Parameters:
throwable - the error


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