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
8 package org.opendaylight.ovsdb.lib.error;
11 * This exception is thrown when a ColumnSchema cannot be found.
13 public class ColumnSchemaNotFoundException extends RuntimeException {
14 private static final long serialVersionUID = -5273616784432907818L;
16 public ColumnSchemaNotFoundException(final String message) {
20 public ColumnSchemaNotFoundException(final String message, final Throwable cause) {
21 super(message, cause);
24 public static String createMessage(final String columnName, final String tableName) {
25 return "Unable to locate ColumnSchema for " + columnName + " in " + tableName;