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

com.gateway.exception.InitErrorException Maven / Gradle / Ivy

 
package com.gateway.exception;

public class InitErrorException extends RuntimeException {

    private static final long serialVersionUID = 4401440531171871948L;

    private int errorCode = 1;

    private String errorMsg;

    protected InitErrorException() {

    }

    public InitErrorException(String errorMsg, Throwable e) {
        super(errorMsg, e);
        this.errorMsg = errorMsg;
    }

    public InitErrorException(String errorMsg) {
        super(errorMsg);
        this.errorMsg = errorMsg;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy