Code ReOrganization and Re-Architecture changes
[ovsdb.git] / library / src / main / java / org / opendaylight / ovsdb / lib / 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.ovsdb.lib.jsonrpc;
11
12 public class InvalidEncodingException extends RuntimeException {
13
14     private final String actual;
15
16     public InvalidEncodingException(String actual, String message) {
17           super(message);
18           this.actual = actual;
19       }
20
21     public String getActual() {
22         return actual;
23     }
24 }