FileDocCategorySizeDatePackage
SharingViolationException.javaAPI DocGlassfish v2 API3582Fri May 04 22:35:36 BST 2007javax.resource.spi

SharingViolationException

public class SharingViolationException extends javax.resource.ResourceException
This is thrown to indicate a connection sharing violation.

This may be thrown by a resource adapter when an application uses a shareable connection in an unshareable manner.

version
1.0
author
Ram Jeyaraman

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

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

param
message the detail message.

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

param
cause a chained exception of type Throwable.

	super(cause);
    
public SharingViolationException(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 SharingViolationException(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