* @param msg message
*/
public void unsupported(int line, int col, String msg)
throws JDOUnsupportedOptionException
{
JDOUnsupportedOptionException ex;
if (line > 1)
{
// include line and column info
Object args[] = {context, new Integer(line), new Integer(col), msg};
ex = new JDOUnsupportedOptionException(I18NHelper.getMessage(
messages, "jqlc.errormsg.generic.msglinecolumn", args)); //NOI18N
}
else if (col > 0)
{
// include column info
Object args[] = {context, new Integer(col), msg};
ex = new JDOUnsupportedOptionException(I18NHelper.getMessage(
messages, "jqlc.errormsg.generic.msgcolumn", args)); //NOI18N
}
else
{
Object args[] = {context, msg};
ex = new JDOUnsupportedOptionException(I18NHelper.getMessage(
messages, "jqlc.errormsg.generic.msg", args)); //NOI18N
}
logger.throwing("jqlc.ErrorMsg", "unsupported", ex);
throw ex;
}