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

me.xethh.libs.spring.web.security.toolkits.exceptionModels.GeneralSSTExceptionModel Maven / Gradle / Ivy

The newest version!
package me.xethh.libs.spring.web.security.toolkits.exceptionModels;

import me.xethh.libs.spring.web.security.toolkits.frontFilter.TracingSystemConst;
import org.slf4j.MDC;
import org.springframework.http.HttpStatus;

public class GeneralSSTExceptionModel extends GeneralExceptionModelImpl{
    private String systemId;

    public String getSystemId() {
        return systemId;
    }

    public void setSystemId(String systemId) {
        this.systemId = systemId;
    }

    protected GeneralSSTExceptionModel(HttpStatus status, String error){
        super(MDC.get(TracingSystemConst.TRANSACTION_HEADER),error,status);
        this.systemId = MDC.get(TracingSystemConst.APP_NAME);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy