aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/NoSuchNameTemplateException.java
blob: 706d347d39de67d019c60809850931a32f863cbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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;

import com.yahoo.vespa.hosted.node.admin.task.util.text.CursorRange;

/**
 * @author hakonhall
 */
public class NoSuchNameTemplateException extends TemplateException {
    public NoSuchNameTemplateException(CursorRange range, String name) {
        super("No such element '" + name + "' in the " + describeSection(range));
    }
}