/** * Writes the supplied {@link Problem} to the {@link Log} at {@code WARN} level. * @param problem the source of the warning */ @Override public void warning(Problem problem) { logger.warn(problem, problem.getRootCause()); }
/** * Writes the supplied {@link Problem} to the {@link Log} at {@code WARN} level. * @param problem the source of the warning */ @Override public void warning(Problem problem) { logger.warn(problem, problem.getRootCause()); }
/** * 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()); }
/** * 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()); }
/** * Writes the supplied {@link Problem} to the {@link Log} at <code>WARN</code> level. * @param problem the source of the warning */ public void warning(Problem problem) { this.logger.warn(problem, problem.getRootCause()); }
/** * 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()); }
protected Problem extendProblemDetails(Problem problem) { try { String element = ((Element) problem.getLocation().getSource()).getLocalName(); String namespace = ((Element) problem.getLocation().getSource()).getNamespaceURI(); String message = "The element '" + element + "' does not have an associated Bean Definition Parser." + " " + getMissingModuleOrExtensionMessage(namespace); return new Problem(message, problem.getLocation(), problem.getParseState(), problem.getRootCause()); } catch (Exception e) { // fall back to previous message return problem; } }
/** * Writes the supplied {@link Problem} to the {@link Log} at {@code WARN} level. * @param problem the source of the warning */ @Override public void warning(Problem problem) { this.logger.warn(problem, problem.getRootCause()); }
/** * 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()); }
protected Problem extendProblemDetails(Problem problem) { try { String element = ((Element) problem.getLocation().getSource()).getLocalName(); String namespace = ((Element) problem.getLocation().getSource()).getNamespaceURI(); String message = "The element '" + element + "' does not have an associated Bean Definition Parser." + " " + getMissingModuleOrExtensionMessage(namespace); return new Problem(message, problem.getLocation(), problem.getParseState(), problem.getRootCause()); } catch (Exception e) { // fall back to previous message return problem; } }
protected Problem extendProblemDetails(Problem problem) { try { String element = ((Element) problem.getLocation().getSource()).getLocalName(); String namespace = ((Element) problem.getLocation().getSource()).getNamespaceURI(); String message = "The element '" + element + "' does not have an associated Bean Definition Parser." +" Is the module or transport associated with " + namespace + " present on the classpath?"; return new Problem(message, problem.getLocation(), problem.getParseState(), problem.getRootCause()); } catch (Exception e) { // fall back to previous message return problem; } }