FileDocCategorySizeDatePackage
NotSupportedException.javaAPI DocGlassfish v2 API3863Fri May 04 22:35:34 BST 2007javax.resource

NotSupportedException

public class NotSupportedException extends javax.resource.ResourceException
A NotSupportedException is thrown to indicate that 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 getXAResource method on a ManagedConnection object should throw a NotSupportedException exception.
version
1.0
author
Rahul Sharma
author
Ram Jeyaraman

Fields Summary
Constructors Summary
public NotSupportedException()
Constructs a new instance with null as its detail message.

 super(); 
public NotSupportedException(String message)
Constructs a new instance with the specified detail message.

param
message the detail message.

	super(message);
    
public NotSupportedException(Throwable cause)
Constructs a new throwable with the specified cause.

param
cause a chained exception of type Throwable.

	super(cause);
    
public NotSupportedException(String message, Throwable cause)
Constructs a new throwable with the specified detail message and cause.

param
message the detail message.
param
cause a chained exception of type Throwable.

	super(message, cause);
    
public NotSupportedException(String message, String errorCode)
Constructs a new throwable with the specified detail message and error code.

param
message a description of the exception.
param
errorCode a string specifying the vendor specific error code.

	super(message, errorCode);
    
Methods Summary