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

}