package de.avatic.lcc.util.exception.base;

public class BadRequestException extends RuntimeException{

    String title;
    String message;


    public BadRequestException(String title, String message) {
        super(message);
        this.title = title;
        this.message = message;
    }

    public BadRequestException(String title, String message, Exception trace) {
        super(message, trace);
        this.title = title;
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }





}
