All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.ovsdb.lib.error.InvalidEncodingException Maven / Gradle / Ivy

/*
 * Copyright (c) 2013, 2015 EBay Software Foundation and others. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.ovsdb.lib.error;

/**
 * InvalidEncodingException in cases where something is not UTF-8 Encoded.
 */
public class InvalidEncodingException extends RuntimeException {
    private static final long serialVersionUID = -6333965543652086978L;

    private final String actual;

    public InvalidEncodingException(final String actual, final String message) {
        super(message);
        this.actual = actual;
    }

    public String getActual() {
        return actual;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy