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

com.greenback.kit.model.GreenbackException Maven / Gradle / Ivy

There is a newer version: 1.0.39
Show newest version
package com.greenback.kit.model;

import java.io.IOException;

public class GreenbackException extends IOException {
    private static final long serialVersionUID = 1L;
    
    private final GreenbackError error;

    public GreenbackException(GreenbackError error) {
        super(error.getMessage());
        this.error = error;
    }

    public GreenbackException(GreenbackError error, Throwable cause) {
        super(error.getMessage(), cause);
        this.error = error;
    }

    public GreenbackError getError() {
        return error;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy