blob: d55cc4fe999a77398682d6e431b0b67d552a74eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*************************************************
*
* = PACKAGE
* JACE.ASX
*
* = FILENAME
* TimeoutException.java
*
*@author Prashant Jain and Doug Schmidt
*
*************************************************/
package JACE.ASX;
/**
* Thrown when a timer has expired.
*/
public class TimeoutException extends Exception
{
/**
* Default Constructor.
*/
public TimeoutException ()
{
super ("Timed Out");
}
/**
* Constructor.
*@param timeout The timeout value which expired.
*@param desc Textual description of the exception
*/
public TimeoutException (TimeValue timeout, String desc)
{
super ("Timed Out in " + timeout + ": " + desc);
}
}
|