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

io.geewit.snowflake.exception.UidGenerateException Maven / Gradle / Ivy

There is a newer version: 2.0.16
Show newest version
package io.geewit.snowflake.exception;

/**
 * UidGenerateException
 *
 * @author geewit
 */
public class UidGenerateException extends RuntimeException {

    /**
     * Serial Version UID
     */
    private static final long serialVersionUID = -27048199131316992L;

    /**
     * Default constructor
     */
    public UidGenerateException() {
        super();
    }

    /**
     * Constructor with message & cause
     *
     * @param message
     * @param cause
     */
    public UidGenerateException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Constructor with message
     *
     * @param message
     */
    public UidGenerateException(String message) {
        super(message);
    }

    /**
     * Constructor with message format
     *
     * @param msgFormat
     * @param args
     */
    public UidGenerateException(String msgFormat, Object... args) {
        super(String.format(msgFormat, args));
    }

    /**
     * Constructor with cause
     *
     * @param cause
     */
    public UidGenerateException(Throwable cause) {
        super(cause);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy