Feature uses features-parent as parent
[groupbasedpolicy.git] / renderers / opflex / src / main / java / org / opendaylight / groupbasedpolicy / renderer / opflex / jsonrpc / InvalidEncodingException.java
1 /*
2  * Copyright (C) 2013 EBay Software Foundation
3  *
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
7  *
8  * Authors : Ashwin Raveendran, Madhu Venugopal
9  */
10 package org.opendaylight.groupbasedpolicy.renderer.opflex.jsonrpc;
11
12 public class InvalidEncodingException extends RuntimeException {
13
14     private static final long serialVersionUID = -2241512201890075052L;
15     private final String actual;
16
17     public InvalidEncodingException(String actual, String message) {
18           super(message);
19           this.actual = actual;
20       }
21
22     public String getActual() {
23         return actual;
24     }
25 }