|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.jdoql.jdoqlc.ErrorMsg
Field Summary | |
protected java.lang.String |
context
The context is included in an error message. |
protected static I18NHelper |
msg
I18N support |
Constructor Summary | |
ErrorMsg()
|
Method Summary | |
void |
error(int line,
int col,
java.lang.String text)
Indicates an error situation. |
void |
fatal(java.lang.String text)
Indicates a fatal situation (implementation error). |
void |
fatal(java.lang.String text,
java.lang.Exception nested)
Indicates a fatal situation (implementation error). |
java.lang.String |
getContext()
Return the current context string |
void |
setContext(java.lang.String name)
Set the specified string as the current context string. |
void |
unsupported(int line,
int col,
java.lang.String text)
Indicates that a feature is not supported by the current release. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.lang.String context
protected static final I18NHelper msg
Constructor Detail |
public ErrorMsg()
Method Detail |
public java.lang.String getContext()
public void setContext(java.lang.String name)
public void error(int line, int col, java.lang.String text) throws JDOQueryException
line
- line numbercol
- column numbertext
- error message
JDOQueryException
public void unsupported(int line, int col, java.lang.String text) throws javax.jdo.JDOUnsupportedOptionException
line
- line numbercol
- column numbertext
- message
javax.jdo.JDOUnsupportedOptionException
public void fatal(java.lang.String text) throws javax.jdo.JDOFatalInternalException
text
- error message
javax.jdo.JDOFatalInternalException
public void fatal(java.lang.String text, java.lang.Exception nested) throws javax.jdo.JDOFatalInternalException
text
- error message
javax.jdo.JDOFatalInternalException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |