public class IllegalStateException extends ResourceException
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.Constructor and Description |
---|
IllegalStateException()
Constructs a new instance with null as its detail message.
|
IllegalStateException(String message)
Constructs a new instance with the specified detail message.
|
IllegalStateException(String message,
String errorCode)
Constructs a new throwable with the specified detail message and
an error code.
|
IllegalStateException(String message,
Throwable cause)
Constructs a new throwable with the specified detail message and cause.
|
IllegalStateException(Throwable cause)
Constructs a new throwable with the specified cause.
|
getErrorCode, getLinkedException, getMessage, setErrorCode, setLinkedException
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalStateException()
public IllegalStateException(String message)
message
- the detail message.public IllegalStateException(Throwable cause)
cause
- a chained exception of type Throwable
.public IllegalStateException(String message, Throwable cause)
message
- the detail message.cause
- a chained exception of type Throwable
.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.