public class ErrorMsg extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
context |
protected static ResourceBundle |
messages
I18N support
|
| Constructor and Description |
|---|
ErrorMsg() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(int line,
int col,
String msg)
Indicates an error situation.
|
void |
fatal(String msg)
Indicates a fatal situation (implementation error).
|
void |
fatal(String msg,
Exception nested)
Indicates a fatal situation (implementation error).
|
String |
getContext() |
void |
setContext(String name) |
void |
unsupported(int line,
int col,
String msg)
Indicates that a feature is not supported by the current release.
|
protected String context
protected static final ResourceBundle messages
public String getContext()
public void setContext(String name)
public void error(int line,
int col,
String msg)
throws JDOQueryException
line - line numbercol - column numbermsg - error messageJDOQueryExceptionpublic void unsupported(int line,
int col,
String msg)
throws JDOUnsupportedOptionException
line - line numbercol - column numbermsg - messageJDOUnsupportedOptionExceptionpublic void fatal(String msg) throws JDOFatalInternalException
msg - error messageJDOFatalInternalExceptionpublic void fatal(String msg, Exception nested) throws JDOFatalInternalException
msg - error messageJDOFatalInternalExceptionCopyright © 2019. All rights reserved.