2 * Copyright (c) 2014 Cisco Systems, Inc. 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.openflowplugin.extension.vendor.nicira.convertor;
10 import org.opendaylight.openflowplugin.extension.api.path.AugmentationPath;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.general.rev140714.general.extension.grouping.Extension;
14 * Codec precondition exception.
18 public class CodecPreconditionException extends RuntimeException {
20 private static final long serialVersionUID = 4602742888420994730L;
22 public CodecPreconditionException(String msg) {
26 public CodecPreconditionException(AugmentationPath path) {
27 super("Augmentation for path " + path + " is not implemented.");
30 public CodecPreconditionException(Extension extension) {
31 super("Extension " + extension.getClass() + " does not contain any known augmentation. " + extension);