Serializablepublic class TimeoutException extends Exception
TimeoutException should be
declared and thrown.| 构造器 | 说明 |
|---|---|
TimeoutException() |
Constructs a
TimeoutException with no specified detail
message. |
TimeoutException(String message) |
Constructs a
TimeoutException with the specified detail
message. |
public TimeoutException()
TimeoutException with no specified detail
message.public TimeoutException(String message)
TimeoutException with the specified detail
message.message - the detail message