Class ErrorMsg
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.sqlstore.query.jqlc.ErrorMsg
-
public class ErrorMsg extends Object
- Version:
- 0.1
- Author:
- Michael Bouschen
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcontextprotected static ResourceBundlemessagesI18N support
-
Constructor Summary
Constructors Constructor Description ErrorMsg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(int line, int col, String msg)Indicates an error situation.voidfatal(String msg)Indicates a fatal situation (implementation error).voidfatal(String msg, Exception nested)Indicates a fatal situation (implementation error).StringgetContext()voidsetContext(String name)voidunsupported(int line, int col, String msg)Indicates that a feature is not supported by the current release.
-
-
-
Field Detail
-
context
protected String context
-
messages
protected static final ResourceBundle messages
I18N support
-
-
Method Detail
-
getContext
public String getContext()
-
setContext
public void setContext(String name)
-
error
public void error(int line, int col, String msg) throws JDOQueryExceptionIndicates an error situation.- Parameters:
line- line numbercol- column numbermsg- error message- Throws:
JDOQueryException
-
unsupported
public void unsupported(int line, int col, String msg) throws JDOUnsupportedOptionExceptionIndicates that a feature is not supported by the current release.- Parameters:
line- line numbercol- column numbermsg- message- Throws:
JDOUnsupportedOptionException
-
fatal
public void fatal(String msg) throws JDOFatalInternalException
Indicates a fatal situation (implementation error).- Parameters:
msg- error message- Throws:
JDOFatalInternalException
-
fatal
public void fatal(String msg, Exception nested) throws JDOFatalInternalException
Indicates a fatal situation (implementation error).- Parameters:
msg- error message- Throws:
JDOFatalInternalException
-
-