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

br.com.moip.resource.ErrorBuilder Maven / Gradle / Ivy

There is a newer version: 4.7.6
Show newest version
package br.com.moip.resource;

public class ErrorBuilder extends Error {

    public ErrorBuilder code(final String code) {
        this.setCode(code);
        return this;
    }

    public ErrorBuilder path(final String path) {
        this.setPath(path);
        return this;
    }

    public ErrorBuilder description(final String description) {
        this.setDescription(description);
        return this;
    }

    public Error build() {
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy