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

io.split.client.exceptions.ChangeNumberExceptionWrapper Maven / Gradle / Ivy

There is a newer version: 4.13.0
Show newest version
package io.split.client.exceptions;

/**
 * Created by adilaijaz on 1/5/17.
 */
public class ChangeNumberExceptionWrapper extends Exception {
    private final Exception _delegate;
    private final long _changeNumber;


    public ChangeNumberExceptionWrapper(Exception delegate, long changeNumber) {
        _delegate = delegate;
        _changeNumber = changeNumber;
    }

    public Exception wrappedException() {
        return _delegate;
    }

    public long changeNumber() {
        return _changeNumber;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy