aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/template/BadTemplateException.java
blob: 65d7ebaa02d34bfa4a52ae16a784a988e0e3e66a (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.Cursor;

/**
 * @author hakonhall
 */
public class BadTemplateException extends TemplateException {
    public BadTemplateException(Cursor location, String message) {
        super(message + " at " + location.calculateLocation().lineAndColumnText());
    }
}