@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(); }
/** * Create a new BeanDefinitionParsingException. * @param problem the configuration problem that was detected during the parsing process */ public BeanDefinitionParsingException(Problem problem) { super(problem.getResourceDescription(), problem.toString(), problem.getRootCause()); }
@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(); }
/** * Create a new BeanDefinitionParsingException. * @param problem the configuration problem that was detected during the parsing process */ public BeanDefinitionParsingException(Problem problem) { super(problem.getResourceDescription(), problem.toString(), problem.getRootCause()); }
@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(); }
/** * Create a new BeanDefinitionParsingException. * @param problem the configuration problem that was detected during the parsing process */ public BeanDefinitionParsingException(Problem problem) { super(problem.getResourceDescription(), problem.toString(), problem.getRootCause()); }
@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(); }
/** * Create a new BeanDefinitionParsingException. * @param problem the configuration problem that was detected during the parsing process */ public BeanDefinitionParsingException(Problem problem) { super(problem.getResourceDescription(), problem.toString(), problem.getRootCause()); }