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.pcep.spi;
11 * Used when something occurs during parsing bytes to java objects.
13 public class PCEPDeserializerException extends Exception {
14 private static final long serialVersionUID = 1L;
17 * Used when no exact error (from rfc or from draft) is specified.
20 * error message describing the error that occurred
22 public PCEPDeserializerException(final String err) {
27 * Used when we want to pass also the exception that occurred.
30 * error message describing the error that occurred
32 * specific exception that occurred
34 public PCEPDeserializerException(final String err, final Throwable e) {