public class InvalidStateException extends UnexpectedException
Indicate a certain state of the object is not valid when accepting a message
Constructor and Description |
---|
InvalidStateException() |
InvalidStateException(String message) |
InvalidStateException(String message,
Object... args) |
InvalidStateException(Throwable cause) |
Modifier and Type | Method and Description |
---|---|
IllegalStateException |
asJDKException()
Convert to corresponding JDK exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidStateException()
public InvalidStateException(String message)
public InvalidStateException(Throwable cause)
public IllegalStateException asJDKException()
Convert to corresponding JDK exception. Warning, since there are synchronized method execution please beware of the performance issue when calling this method
IllegalStateException
corresponding to this exception instanceCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.