[120] | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
---|
| 2 | <!--NewPage--> |
---|
| 3 | <HTML> |
---|
| 4 | <HEAD> |
---|
| 5 | <!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:55 UTC 2009 --> |
---|
| 6 | <TITLE> |
---|
| 7 | TokenMgrError (Hadoop 0.20.1 API) |
---|
| 8 | </TITLE> |
---|
| 9 | |
---|
| 10 | <META NAME="date" CONTENT="2009-09-01"> |
---|
| 11 | |
---|
| 12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"> |
---|
| 13 | |
---|
| 14 | <SCRIPT type="text/javascript"> |
---|
| 15 | function windowTitle() |
---|
| 16 | { |
---|
| 17 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 18 | parent.document.title="TokenMgrError (Hadoop 0.20.1 API)"; |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | </SCRIPT> |
---|
| 22 | <NOSCRIPT> |
---|
| 23 | </NOSCRIPT> |
---|
| 24 | |
---|
| 25 | </HEAD> |
---|
| 26 | |
---|
| 27 | <BODY BGCOLOR="white" onload="windowTitle();"> |
---|
| 28 | <HR> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | <!-- ========= START OF TOP NAVBAR ======= --> |
---|
| 32 | <A NAME="navbar_top"><!-- --></A> |
---|
| 33 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
---|
| 34 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 35 | <TR> |
---|
| 36 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 37 | <A NAME="navbar_top_firstrow"><!-- --></A> |
---|
| 38 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 39 | <TR ALIGN="center" VALIGN="top"> |
---|
| 40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 42 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 43 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TokenMgrError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 45 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 46 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 47 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 48 | </TR> |
---|
| 49 | </TABLE> |
---|
| 50 | </TD> |
---|
| 51 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 52 | </EM> |
---|
| 53 | </TD> |
---|
| 54 | </TR> |
---|
| 55 | |
---|
| 56 | <TR> |
---|
| 57 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 58 | <A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/Token.html" title="class in org.apache.hadoop.record.compiler.generated"><B>PREV CLASS</B></A> |
---|
| 59 | NEXT CLASS</FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../../index.html?org/apache/hadoop/record/compiler/generated/TokenMgrError.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="TokenMgrError.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <SCRIPT type="text/javascript"> |
---|
| 64 | <!-- |
---|
| 65 | if(window==top) { |
---|
| 66 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 67 | } |
---|
| 68 | //--> |
---|
| 69 | </SCRIPT> |
---|
| 70 | <NOSCRIPT> |
---|
| 71 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 72 | </NOSCRIPT> |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | </FONT></TD> |
---|
| 76 | </TR> |
---|
| 77 | <TR> |
---|
| 78 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 79 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 82 | </TR> |
---|
| 83 | </TABLE> |
---|
| 84 | <A NAME="skip-navbar_top"></A> |
---|
| 85 | <!-- ========= END OF TOP NAVBAR ========= --> |
---|
| 86 | |
---|
| 87 | <HR> |
---|
| 88 | <!-- ======== START OF CLASS DATA ======== --> |
---|
| 89 | <H2> |
---|
| 90 | <FONT SIZE="-1"> |
---|
| 91 | org.apache.hadoop.record.compiler.generated</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class TokenMgrError</H2> |
---|
| 94 | <PRE> |
---|
| 95 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> |
---|
| 96 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</A> |
---|
| 97 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">java.lang.Error</A> |
---|
| 98 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.record.compiler.generated.TokenMgrError</B> |
---|
| 99 | </PRE> |
---|
| 100 | <DL> |
---|
| 101 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD> |
---|
| 102 | </DL> |
---|
| 103 | <HR> |
---|
| 104 | <DL> |
---|
| 105 | <DT><PRE>public class <B>TokenMgrError</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang">Error</A></DL> |
---|
| 106 | </PRE> |
---|
| 107 | |
---|
| 108 | <P> |
---|
| 109 | <DL> |
---|
| 110 | <DT><B>See Also:</B><DD><A HREF="../../../../../../serialized-form.html#org.apache.hadoop.record.compiler.generated.TokenMgrError">Serialized Form</A></DL> |
---|
| 111 | <HR> |
---|
| 112 | |
---|
| 113 | <P> |
---|
| 114 | |
---|
| 115 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 116 | |
---|
| 117 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 120 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 121 | <B>Constructor Summary</B></FONT></TH> |
---|
| 122 | </TR> |
---|
| 123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 124 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#TokenMgrError()">TokenMgrError</A></B>()</CODE> |
---|
| 125 | |
---|
| 126 | <BR> |
---|
| 127 | </TD> |
---|
| 128 | </TR> |
---|
| 129 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 130 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#TokenMgrError(boolean, int, int, int, java.lang.String, char, int)">TokenMgrError</A></B>(boolean EOFSeen, |
---|
| 131 | int lexState, |
---|
| 132 | int errorLine, |
---|
| 133 | int errorColumn, |
---|
| 134 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorAfter, |
---|
| 135 | char curChar, |
---|
| 136 | int reason)</CODE> |
---|
| 137 | |
---|
| 138 | <BR> |
---|
| 139 | </TD> |
---|
| 140 | </TR> |
---|
| 141 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 142 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#TokenMgrError(java.lang.String, int)">TokenMgrError</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 143 | int reason)</CODE> |
---|
| 144 | |
---|
| 145 | <BR> |
---|
| 146 | </TD> |
---|
| 147 | </TR> |
---|
| 148 | </TABLE> |
---|
| 149 | |
---|
| 150 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 151 | |
---|
| 152 | <A NAME="method_summary"><!-- --></A> |
---|
| 153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 155 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 156 | <B>Method Summary</B></FONT></TH> |
---|
| 157 | </TR> |
---|
| 158 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 159 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 160 | <CODE>protected static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 161 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#addEscapes(java.lang.String)">addEscapes</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</CODE> |
---|
| 162 | |
---|
| 163 | <BR> |
---|
| 164 | Replaces unprintable characters by their espaced (or unicode escaped) |
---|
| 165 | equivalents in the given string</TD> |
---|
| 166 | </TR> |
---|
| 167 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 168 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 169 | <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 170 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#getMessage()">getMessage</A></B>()</CODE> |
---|
| 171 | |
---|
| 172 | <BR> |
---|
| 173 | You can also modify the body of this method to customize your error messages.</TD> |
---|
| 174 | </TR> |
---|
| 175 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 176 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 177 | <CODE>protected static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> |
---|
| 178 | <TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/TokenMgrError.html#LexicalError(boolean, int, int, int, java.lang.String, char)">LexicalError</A></B>(boolean EOFSeen, |
---|
| 179 | int lexState, |
---|
| 180 | int errorLine, |
---|
| 181 | int errorColumn, |
---|
| 182 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorAfter, |
---|
| 183 | char curChar)</CODE> |
---|
| 184 | |
---|
| 185 | <BR> |
---|
| 186 | Returns a detailed message for the Error when it is thrown by the |
---|
| 187 | token manager to indicate a lexical error.</TD> |
---|
| 188 | </TR> |
---|
| 189 | </TABLE> |
---|
| 190 | <A NAME="methods_inherited_from_class_java.lang.Throwable"><!-- --></A> |
---|
| 191 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 192 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 193 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></B></TH> |
---|
| 194 | </TR> |
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 196 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace()" title="class or interface in java.lang">fillInStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getCause()" title="class or interface in java.lang">getCause</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage()" title="class or interface in java.lang">getLocalizedMessage</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace()" title="class or interface in java.lang">getStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#initCause(java.lang.Throwable)" title="class or interface in java.lang">initCause</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace()" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintStream)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace(java.io.PrintWriter)" title="class or interface in java.lang">printStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace(java.lang.StackTraceElement[])" title="class or interface in java.lang">setStackTrace</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE></TD> |
---|
| 197 | </TR> |
---|
| 198 | </TABLE> |
---|
| 199 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 200 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 201 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 202 | <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> |
---|
| 203 | </TR> |
---|
| 204 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 205 | <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> |
---|
| 206 | </TR> |
---|
| 207 | </TABLE> |
---|
| 208 | |
---|
| 209 | <P> |
---|
| 210 | |
---|
| 211 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 212 | |
---|
| 213 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 214 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 215 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 216 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 217 | <B>Constructor Detail</B></FONT></TH> |
---|
| 218 | </TR> |
---|
| 219 | </TABLE> |
---|
| 220 | |
---|
| 221 | <A NAME="TokenMgrError()"><!-- --></A><H3> |
---|
| 222 | TokenMgrError</H3> |
---|
| 223 | <PRE> |
---|
| 224 | public <B>TokenMgrError</B>()</PRE> |
---|
| 225 | <DL> |
---|
| 226 | </DL> |
---|
| 227 | <HR> |
---|
| 228 | |
---|
| 229 | <A NAME="TokenMgrError(java.lang.String, int)"><!-- --></A><H3> |
---|
| 230 | TokenMgrError</H3> |
---|
| 231 | <PRE> |
---|
| 232 | public <B>TokenMgrError</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> message, |
---|
| 233 | int reason)</PRE> |
---|
| 234 | <DL> |
---|
| 235 | </DL> |
---|
| 236 | <HR> |
---|
| 237 | |
---|
| 238 | <A NAME="TokenMgrError(boolean, int, int, int, java.lang.String, char, int)"><!-- --></A><H3> |
---|
| 239 | TokenMgrError</H3> |
---|
| 240 | <PRE> |
---|
| 241 | public <B>TokenMgrError</B>(boolean EOFSeen, |
---|
| 242 | int lexState, |
---|
| 243 | int errorLine, |
---|
| 244 | int errorColumn, |
---|
| 245 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorAfter, |
---|
| 246 | char curChar, |
---|
| 247 | int reason)</PRE> |
---|
| 248 | <DL> |
---|
| 249 | </DL> |
---|
| 250 | |
---|
| 251 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 252 | |
---|
| 253 | <A NAME="method_detail"><!-- --></A> |
---|
| 254 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 255 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 256 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 257 | <B>Method Detail</B></FONT></TH> |
---|
| 258 | </TR> |
---|
| 259 | </TABLE> |
---|
| 260 | |
---|
| 261 | <A NAME="addEscapes(java.lang.String)"><!-- --></A><H3> |
---|
| 262 | addEscapes</H3> |
---|
| 263 | <PRE> |
---|
| 264 | protected static final <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>addEscapes</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</PRE> |
---|
| 265 | <DL> |
---|
| 266 | <DD>Replaces unprintable characters by their espaced (or unicode escaped) |
---|
| 267 | equivalents in the given string |
---|
| 268 | <P> |
---|
| 269 | <DD><DL> |
---|
| 270 | </DL> |
---|
| 271 | </DD> |
---|
| 272 | </DL> |
---|
| 273 | <HR> |
---|
| 274 | |
---|
| 275 | <A NAME="LexicalError(boolean, int, int, int, java.lang.String, char)"><!-- --></A><H3> |
---|
| 276 | LexicalError</H3> |
---|
| 277 | <PRE> |
---|
| 278 | protected static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>LexicalError</B>(boolean EOFSeen, |
---|
| 279 | int lexState, |
---|
| 280 | int errorLine, |
---|
| 281 | int errorColumn, |
---|
| 282 | <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> errorAfter, |
---|
| 283 | char curChar)</PRE> |
---|
| 284 | <DL> |
---|
| 285 | <DD>Returns a detailed message for the Error when it is thrown by the |
---|
| 286 | token manager to indicate a lexical error. |
---|
| 287 | Parameters : |
---|
| 288 | EOFSeen : indicates if EOF caused the lexicl error |
---|
| 289 | curLexState : lexical state in which this error occured |
---|
| 290 | errorLine : line number when the error occured |
---|
| 291 | errorColumn : column number when the error occured |
---|
| 292 | errorAfter : prefix that was seen before this error occured |
---|
| 293 | curchar : the offending character |
---|
| 294 | Note: You can customize the lexical error message by modifying this method. |
---|
| 295 | <P> |
---|
| 296 | <DD><DL> |
---|
| 297 | </DL> |
---|
| 298 | </DD> |
---|
| 299 | </DL> |
---|
| 300 | <HR> |
---|
| 301 | |
---|
| 302 | <A NAME="getMessage()"><!-- --></A><H3> |
---|
| 303 | getMessage</H3> |
---|
| 304 | <PRE> |
---|
| 305 | public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE> |
---|
| 306 | <DL> |
---|
| 307 | <DD>You can also modify the body of this method to customize your error messages. |
---|
| 308 | For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not |
---|
| 309 | of end-users concern, so you can return something like : |
---|
| 310 | |
---|
| 311 | "Internal Error : Please file a bug report .... " |
---|
| 312 | |
---|
| 313 | from this method for such cases in the release version of your parser. |
---|
| 314 | <P> |
---|
| 315 | <DD><DL> |
---|
| 316 | <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true#getMessage()" title="class or interface in java.lang">getMessage</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</A></CODE></DL> |
---|
| 317 | </DD> |
---|
| 318 | <DD><DL> |
---|
| 319 | </DL> |
---|
| 320 | </DD> |
---|
| 321 | </DL> |
---|
| 322 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 323 | <HR> |
---|
| 324 | |
---|
| 325 | |
---|
| 326 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 327 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 328 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 329 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 330 | <TR> |
---|
| 331 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 332 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 333 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 334 | <TR ALIGN="center" VALIGN="top"> |
---|
| 335 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 336 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 337 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 338 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TokenMgrError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 339 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 340 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 341 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
---|
| 342 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 343 | </TR> |
---|
| 344 | </TABLE> |
---|
| 345 | </TD> |
---|
| 346 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 347 | </EM> |
---|
| 348 | </TD> |
---|
| 349 | </TR> |
---|
| 350 | |
---|
| 351 | <TR> |
---|
| 352 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 353 | <A HREF="../../../../../../org/apache/hadoop/record/compiler/generated/Token.html" title="class in org.apache.hadoop.record.compiler.generated"><B>PREV CLASS</B></A> |
---|
| 354 | NEXT CLASS</FONT></TD> |
---|
| 355 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 356 | <A HREF="../../../../../../index.html?org/apache/hadoop/record/compiler/generated/TokenMgrError.html" target="_top"><B>FRAMES</B></A> |
---|
| 357 | <A HREF="TokenMgrError.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 358 | <SCRIPT type="text/javascript"> |
---|
| 359 | <!-- |
---|
| 360 | if(window==top) { |
---|
| 361 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 362 | } |
---|
| 363 | //--> |
---|
| 364 | </SCRIPT> |
---|
| 365 | <NOSCRIPT> |
---|
| 366 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 367 | </NOSCRIPT> |
---|
| 368 | |
---|
| 369 | |
---|
| 370 | </FONT></TD> |
---|
| 371 | </TR> |
---|
| 372 | <TR> |
---|
| 373 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 374 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 375 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 376 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 377 | </TR> |
---|
| 378 | </TABLE> |
---|
| 379 | <A NAME="skip-navbar_bottom"></A> |
---|
| 380 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 381 | |
---|
| 382 | <HR> |
---|
| 383 | Copyright © 2009 The Apache Software Foundation |
---|
| 384 | </BODY> |
---|
| 385 | </HTML> |
---|