2 * Copyright (c) 2014, 2015 Red Hat, 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
9 package org.opendaylight.ovsdb.lib.error;
12 * This exception is thrown when a TableSchema cannot be found
14 public class TableSchemaNotFoundException extends RuntimeException {
16 public TableSchemaNotFoundException(String message) {
20 public TableSchemaNotFoundException(String message, Throwable cause) {
21 super(message, cause);
24 public static String createMessage(String tableName, String schemaName) {
25 String message = "Unable to locate TableSchema for " + tableName + " in " + schemaName;