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.controller.md.statistics.manager;
10 import java.util.Collection;
12 import org.opendaylight.yangtools.yang.common.RpcError;
14 final class RPCFailedException extends RuntimeException {
15 private static final long serialVersionUID = 1L;
16 private final Collection<RpcError> errors;
18 public RPCFailedException(final String message, final Collection<RpcError> errors) {
24 public String toString() {
25 return "RPCFailedException [errors=" + errors + ", message=" + getMessage() + ']';