FileDocCategorySizeDatePackage
IllegalStateException.javaAPI DocGlassfish v2 API1757Fri May 27 15:55:56 BST 2005javax.resource.spi

IllegalStateException

public class IllegalStateException extends javax.resource.ResourceException
An IllegalStateException is thrown from a method if the callee (resource adapter or application server for system contracts) is in an illegal or inappropriate state for the method invocation.
version
1.0
author
Rahul Sharma
author
Ram Jeyaraman

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

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

param
message the detail message.

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

param
cause a chained exception of type Throwable.

	super(cause);
    
public IllegalStateException(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 IllegalStateException(String message, String errorCode)
Constructs a new throwable with the specified detail message and an error code.

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

	super(message, errorCode);
    
Methods Summary