blob: 0869b7f181cb591910b97790bd0ccc72739f010c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.task.util.template;
/**
* @author hakonhall
*/
public class NameAlreadyExistsTemplateException extends TemplateException {
public NameAlreadyExistsTemplateException(String name, Section first, Section second) {
super("The name '" + name + "' of the " + second.type() + " section at " +
second.range().start().calculateLocation().lineAndColumnText() +
" is in conflict with the identically named " + first.type() + " section at " +
first.range().start().calculateLocation().lineAndColumnText());
}
}
|