2 * Copyright (C) 2014 Cisco Systems, Inc.
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 * Authors : Thomas Bachman
10 package org.opendaylight.groupbasedpolicy.renderer.opflex.lib.messages;
12 public class OpflexError {
14 public static enum ErrorCode {
16 EUNSUPPORTED("EUNSUPPORTED"),
21 private String errorCode;
23 ErrorCode(String errorCode) {
24 this.errorCode = errorCode;
28 public String toString() {
29 return this.errorCode;
34 private String message;
37 public String getCode() {
40 public void setCode(String code) {
43 public String getMessage() {
46 public void setMessage(String message) {
47 this.message = message;
49 public String getTrace() {
52 public void setTrace(String trace) {
55 public String getData() {
58 public void setData(String data) {