2 * Copyright (c) 2019 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.data.impl.codec;
10 import com.google.common.annotations.Beta;
11 import org.opendaylight.yangtools.concepts.AbstractIllegalArgumentCodec;
13 // FIXME: 7.0.0: yang-data-api is tied to yang-model-api, hence it should be opinionated to export exceptions
14 // encapsulating YANG-based error information.
16 public abstract class AbstractDataStringCodec<T> extends AbstractIllegalArgumentCodec<String, T>
17 implements DataStringCodec<T> {
19 // FIXME: should we provide default getInputClass() implementation?