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

com.tosan.client.http.sample.server.api.exception.CustomServerException Maven / Gradle / Ivy

package com.tosan.client.http.sample.server.api.exception;

import com.tosan.client.http.starter.impl.feign.exception.TosanWebServiceException;
import lombok.NoArgsConstructor;

/**
 * @author Ali Alimohammadi
 * @since 4/18/2021
 */
@NoArgsConstructor
public abstract class CustomServerException extends TosanWebServiceException {
    private static final long serialVersionUID = 6543428451282914405L;

    public CustomServerException(String message) {
        super(message);
    }

    public CustomServerException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public String getErrorCode() {
        return this.getClass().getSimpleName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy