javax.resource.spi
Class IllegalStateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.resource.ResourceException
              extended by javax.resource.spi.IllegalStateException
All Implemented Interfaces:
Serializable

public class IllegalStateException
extends 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:
Guillaume Sauthier
See Also:
Serialized Form

Constructor Summary
IllegalStateException()
          
IllegalStateException(String message)
          
IllegalStateException(String message, String errorCode)
          
IllegalStateException(String message, Throwable cause)
          
IllegalStateException(Throwable cause)
          
 
Method Summary
 
Methods inherited from class javax.resource.ResourceException
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

IllegalStateException

public IllegalStateException()


IllegalStateException

public IllegalStateException(String message)


IllegalStateException

public IllegalStateException(Throwable cause)


IllegalStateException

public IllegalStateException(String message,
                             Throwable cause)


IllegalStateException

public IllegalStateException(String message,
                             String errorCode)



Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.