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

io.github.szhittech.format.FormattingTuple Maven / Gradle / Ivy

There is a newer version: 0.0.7
Show newest version
package io.github.szhittech.format;


/**
 *
 * @author Joern Huxhorn
 */
public class FormattingTuple {

    static public FormattingTuple NULL = new FormattingTuple(null);

    private String message;
    private Throwable throwable;
    private Object[] argArray;

    public FormattingTuple(String message) {
        this(message, null, null);
    }

    public FormattingTuple(String message, Object[] argArray, Throwable throwable) {
        this.message = message;
        this.throwable = throwable;
        this.argArray = argArray;
    }

    public String getMessage() {
        return message;
    }

    public Object[] getArgArray() {
        return argArray;
    }

    public Throwable getThrowable() {
        return throwable;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy