Source code: com/phoenixst/plexus/NoSuchNodeException.java
1 /*
2 * $Id: NoSuchNodeException.java,v 1.1 2003/09/02 16:13:21 rconner Exp $
3 *
4 * Copyright (C) 1994-2003 by Phoenix Software Technologists,
5 * Inc. and others. All rights reserved.
6 *
7 * THIS PROGRAM AND DOCUMENTATION IS PROVIDED UNDER THE TERMS OF THE
8 * COMMON PUBLIC LICENSE ("AGREEMENT") WHICH ACCOMPANIES IT. ANY
9 * USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
10 * RECIPIENT'S ACCEPTANCE OF THE AGREEMENT.
11 *
12 * The license text can also be found at
13 * http://opensource.org/licenses/cpl.php
14 */
15
16 package com.phoenixst.plexus;
17
18
19 /**
20 * Thrown by a {@link Graph} method when an argument node is not
21 * found in the <code>Graph</code>, but the method cannot provide a
22 * meaningful result or perform its function without one.
23 *
24 * @version $Revision: 1.1 $
25 * @author Ray A. Conner
26 *
27 * @since 1.0
28 */
29 public class NoSuchNodeException extends RuntimeException
30 {
31
32 /**
33 * Constructs a new <code>NoSuchNodeException</code> with
34 * <code>null</code> as its detail message and no cause.
35 */
36 public NoSuchNodeException()
37 {
38 super();
39 }
40
41
42 /**
43 * Constructs a new <code>NoSuchNodeException</code> with the
44 * specified detail message and no cause.
45 *
46 * @param message the detail message.
47 */
48 public NoSuchNodeException( String message )
49 {
50 super( message );
51 }
52
53
54 /**
55 * Constructs a new <code>NoSuchNodeException</code> with the
56 * specified cause.
57 *
58 * @param cause the cause.
59 */
60 public NoSuchNodeException( Throwable cause )
61 {
62 super( cause );
63 }
64
65
66 /**
67 * Constructs a new <code>NoSuchNodeException</code> with the
68 * specified detail message and cause.
69 *
70 * @param message the detail message.
71 *
72 * @param cause the cause.
73 */
74 public NoSuchNodeException( String message, Throwable cause )
75 {
76 super( message, cause );
77 }
78
79 }