public class TimeoutException extends Exception
TimeoutException should be declared and thrown.
| Constructor and Description |
|---|
TimeoutException()
Constructs a
TimeoutException with no specified detail message.
|
TimeoutException(String
Constructs a
TimeoutException with the specified detail message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TimeoutException()
TimeoutException with no specified detail message.
public TimeoutException(Stringmessage)
TimeoutException with the specified detail message.
message - the detail message