WebLogic Messaging API Class Library |

# IllegalStateException Constructor

Constructs an `IllegalStateException` with the specified reason and error code.

#### Overload List

Constructs an `IllegalStateException` with the specified reason. The error code defaults to null.

> public IllegalStateException(String);

Constructs an `IllegalStateException` with the specified reason and error code.

> public IllegalStateException(String,String,Exception);

#### See Also

IllegalStateException Class | WebLogic.Messaging Namespace