String message = String.format("Cannot parse cell value: [%s] to the necessary type", code); addError(SyntaxNodeExceptionUtils .createError(message, e, LocationUtils.createTextInterval(source.getCode()), source)); } catch (Exception e) { String message = "Cannot parse cell!"; addError(SyntaxNodeExceptionUtils.createError(message, e, null, source)); if (instanceClass == null) { String message = String.format("Type '%s' was loaded with errors", type.getName()); addError(SyntaxNodeExceptionUtils.createError(message, source)); } catch (Exception t) { String message = String.format("Cannot parse cell value: [%s] to the necessary type", code); addError(SyntaxNodeExceptionUtils.createError(message, t, null, source));