public class TimeoutException
extends java.lang.Exception
Constructor and Description |
---|
TimeoutException(long timeout)
Instantiates a new timeout exception.
|
TimeoutException(java.lang.String msg)
Instantiates a new timeout exception.
|
public TimeoutException(java.lang.String msg)
msg
- the message to used for the exception.public TimeoutException(long timeout)
timeout
- the period that has been exceeded