aboutsummaryrefslogtreecommitdiffstats
path: root/model-integration/src/main/java/ai/vespa/modelintegration/evaluator/UncheckedOrtException.java
blob: aeeb6ef96a25faac85547f12b5d79d2ce5f10e88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package ai.vespa.modelintegration.evaluator;

import ai.onnxruntime.OrtException;

/**
 * @author bjorncs
 */
public class UncheckedOrtException extends RuntimeException {

    public UncheckedOrtException(Throwable e) { super(e.getMessage(), e); }

    @Override public synchronized OrtException getCause() { return (OrtException) super.getCause(); }
}