//////////////////////////////////////////////////////////////////////////
int errs[] = { 0, 1, 2, 4, 5, 13, 14, 20, 22, 30, 67, 78, 9999, 111, -2};
for(int i = 0; i < errs.length; i++)
{
int id = errs[i];
NativeResults nr = new NativeResults(id);
String s = "ID: " + id + ", ";
if(nr.getResultException() == null)
s += "NO ERROR, ";
else
s += "YES ERROR, ";
s += nr.getResultString();
System.out.println(s);
}