2 * Copyright (c) 2013 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.protocol.bgp.parser;
12 * Used when something occurs during the parsing to get Update Message.
15 public class BGPParsingException extends Exception {
16 private static final long serialVersionUID = 1L;
20 * @param err error message string.
22 public BGPParsingException(final String err) {
28 * @param message exception message
29 * @param cause primary exception
31 public BGPParsingException(final String message, final Exception cause) {
32 super(message, cause);