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

com.eightkdata.mongowp.exceptions.NotMasterException Maven / Gradle / Ivy

There is a newer version: 0.50.0
Show newest version

package com.eightkdata.mongowp.exceptions;

import com.eightkdata.mongowp.ErrorCode;

/**
 *
 */
public class NotMasterException extends MongoException {
    private static final long serialVersionUID = 1L;

    public NotMasterException(String customMessage) {
        super(customMessage, ErrorCode.NOT_MASTER);
    }

    public NotMasterException(String customMessage, Throwable cause) {
        super(customMessage, cause, ErrorCode.NOT_MASTER);
    }

    public NotMasterException() {
        super(ErrorCode.NOT_MASTER);
    }

    public NotMasterException(Throwable cause) {
        super(cause, ErrorCode.NOT_MASTER);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy