KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > polyglot > visit > CFGBuildError


1 package polyglot.visit;
2
3 import polyglot.util.InternalCompilerError;
4 import polyglot.util.Position;
5
6 /**
7  * Exception thrown when the CFG cannot be built. This should be
8  * a SemanticException, but is an error so it doesn't need to be declared
9  * in the signature of Node.acceptCFG.
10  */

11 public class CFGBuildError extends InternalCompilerError
12 {
13     public CFGBuildError(String JavaDoc msg) {
14         super(msg);
15     }
16
17     public CFGBuildError(Position position, String JavaDoc msg) {
18         super(position, msg);
19     }
20
21     public CFGBuildError(String JavaDoc msg, Position position) {
22         super(msg, position);
23     }
24 }
25
Popular Tags