summaryrefslogtreecommitdiff
path: root/java/src/TimeoutException.java
blob: 696d0ea2a5837f49d8c878948928a909f0c750a4 (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
/*************************************************
 *
 * = PACKAGE
 *    ACE.ASX
 *
 * = FILENAME
 *    TimeoutException.java
 *
 *@author Prashant Jain and Doug Schmidt
 *
 *************************************************/
package ACE.ASX;

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);
  }

}