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

org.defendev.common.domain.exception.UnclassifiedException Maven / Gradle / Ivy

Go to download

Common utils purely based on JDK and no other dependencies. Only exception being for org.jetbrains:annotations for building stratgic Kotlin language compatibility.Another only-exception is Apache Commons Lang3.

The newest version!
package org.defendev.common.domain.exception;

import org.defendev.common.domain.error.ErrorDto;
import org.defendev.common.domain.error.ErrorWrapperDto;



public class UnclassifiedException extends RuntimeException {

    private ErrorWrapperDto errorWrapperDto;

    public UnclassifiedException(ErrorDto errorDto) {
        this.errorWrapperDto = new ErrorWrapperDto(errorDto);
    }

    public UnclassifiedException(ErrorWrapperDto errorWrapperDto) {
        this.errorWrapperDto = errorWrapperDto;
    }

    public ErrorWrapperDto getErrorWrapperDto() {
        return errorWrapperDto;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy