exception

Constructs an exception based on the message and cause properties.

Return

A newly constructed IllegalStateException. If the cause property is not null, it wraps the cause into an inner Exception; otherwise, the exception includes only the message.