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

personthecat.catlib.exception.JsonMappingException Maven / Gradle / Ivy

Go to download

Utilities for serialization, commands, noise generation, IO, and some new data types.

The newest version!
package personthecat.catlib.exception;

import lombok.Getter;

import static personthecat.catlib.util.Shorthand.f;

@Getter
public class JsonMappingException extends RuntimeException {
    private final String parent;
    private final String field;

    public JsonMappingException(final String parent, final String field) {
        super(f("{}.{} is required", parent, field));
        this.parent = parent;
        this.field = field;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy