String warning = model.sol(<stag>).getWarningMessage();String error = model.sol(<stag>).getErrorMessage();returns the error message as a string. Here, <stag> is a solver sequence tag.
• hasProblems(), a Boolean method that is true if problems exist.
• problemNames(), a String[] array with names of features with problems.
• errorNames() and warningNames(), String[] arrays with information about error and warning, respectively.