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

/**
 * @author hakonhall
 */
public class TemplateNameNotSetException extends TemplateException {
    public TemplateNameNotSetException(String name, Cursor nameOffset) {
        super("Variable at " + nameOffset.calculateLocation().lineAndColumnText() + " has not been set: " + name);
    }
}