@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Configuration problem: "); sb.append(getMessage()); sb.append("\nOffending resource: ").append(getResourceDescription()); if (getParseState() != null) { sb.append('\n').append(getParseState()); } return sb.toString(); }
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Configuration problem: "); sb.append(getMessage()); sb.append("\nOffending resource: ").append(getResourceDescription()); if (getParseState() != null) { sb.append('\n').append(getParseState()); } return sb.toString(); }
protected boolean isMissingParser(Problem problem) { // Spring doesn't give us much useful data here - parseState and rootCause are null String message = problem.getMessage(); return (null != message && message.startsWith(NO_PARSER_PREFIX)); }
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Configuration problem: "); sb.append(getMessage()); sb.append("\nOffending resource: ").append(getResourceDescription()); if (getParseState() != null) { sb.append('\n').append(getParseState()); } return sb.toString(); }
protected boolean isMissingParser(Problem problem) { // Spring doesn't give us much useful data here - parseState and rootCause are null String message = problem.getMessage(); return (null != message && message.startsWith(NO_PARSER_PREFIX)); }
protected boolean isMissingParser(Problem problem) { // Spring doesn't give us much useful data here - parseState and rootCause are null String message = problem.getMessage(); return (null != message && message.startsWith(NO_PARSER_PREFIX)); }
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Configuration problem: "); sb.append(getMessage()); sb.append("\nOffending resource: ").append(getResourceDescription()); if (getParseState() != null) { sb.append('\n').append(getParseState()); } return sb.toString(); }