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 String
context
protected static ResourceBundle
messages
I18N support
-
Constructor Summary
Constructors Constructor Description ErrorMsg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
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 JDOQueryException
Indicates an error situation.- Parameters:
line
- line numbercol
- column numbermsg
- error message- Throws:
JDOQueryException
-
unsupported
public void unsupported(int line, int col, String msg) throws JDOUnsupportedOptionException
Indicates 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
-
-