1 16 17 package org.apache.axis.components.compiler; 18 19 26 27 public class CompilerError { 28 31 private boolean error; 32 35 private int startline; 36 39 private int startcolumn; 40 43 private int endline; 44 47 private int endcolumn; 48 51 private String file; 52 55 private String message; 56 57 68 public CompilerError( 69 String file, 70 boolean error, 71 int startline, 72 int startcolumn, 73 int endline, 74 int endcolumn, 75 String message 76 ) 77 { 78 this.file = file; 79 this.error = error; 80 this.startline = startline; 81 this.startcolumn = startcolumn; 82 this.endline = endline; 83 this.endcolumn = endcolumn; 84 this.message = message; 85 } 86 87 92 public CompilerError(String message) { 93 this.message = message; 94 } 95 96 101 public String getFile() { 102 return file; 103 } 104 105 110 public boolean isError() { 111 return error; 112 } 113 114 119 public int getStartLine() { 120 return startline; 121 } 122 123 130 public int getStartColumn() { 131 return startcolumn; 132 } 133 134 139 public int getEndLine() { 140 return endline; 141 } 142 143 150 public int getEndColumn() { 151 return endcolumn; 152 } 153 154 159 public String getMessage() { 160 return message; 161 } 162 } 163 | Popular Tags |