javax.resource.spi
Class IllegalStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.resource.ResourceException
javax.resource.spi.IllegalStateException
- All Implemented Interfaces:
- Serializable
- public class IllegalStateException
- extends ResourceException
A IllegalStateException is thrown when a method has been invoked on
an object which is in the wrong state to execute the method.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalStateException
public IllegalStateException(String reason)
- Create an exception with a reason.
IllegalStateException
public IllegalStateException(String reason,
String errorCode)
- Create an exception with a reason and an errorCode.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.