Search in sources :

Example 1 with FormSet

use of app.hongs.action.FormSet in project HongsCORE by ihongs.

the class JointGate method getForm.

private Map getForm(String mod, String ent) throws HongsException {
    String cuf = FormSet.hasConfFile(mod + "/" + ent) ? mod + "/" + ent : mod;
    FormSet form = FormSet.getInstance(cuf);
    try {
        return form.getFormTranslated(ent);
    } catch (HongsException ex) {
        if (ex.getErrno() == 0x10ea) {
            return null;
        } else {
            throw ex;
        }
    }
}
Also used : HongsException(app.hongs.HongsException) FormSet(app.hongs.action.FormSet)

Aggregations

HongsException (app.hongs.HongsException)1 FormSet (app.hongs.action.FormSet)1