当前页面:
在线文档首页 >
JBoss 3.2.7 j2ee API Documentation 英文版文档
NotSupportedException (JBoss J2EE API) - JBoss 3.2.7 j2ee API Documentation 英文版文档
javax.resource
Class NotSupportedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.NotSupportedException
- All Implemented Interfaces:
- Serializable
- public class NotSupportedException
- extends ResourceException
A NotSupportedException is thrown to indicate that the callee
(resource adapter or application server for system contracts)
cannot execute an operation because the operation is not a
supported feature. For example, if the transaction support level
for a resource adapter is NO_TRANSACTION, an invocation of
ManagedConnection.getXAResource method should throw
NotSupportedException exception.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NotSupportedException
public NotSupportedException(String reason)
- Create a not supported exception with a reason.
NotSupportedException
public NotSupportedException(String reason,
String errorCode)
- Create a not supported exception with a reason and an errorCode.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.