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

com.github.andyshao.data.structure.HeapOperationException Maven / Gradle / Ivy

The newest version!
package com.github.andyshao.data.structure;

import java.io.Serial;

/**
 * Heap Operation Exception
 */
public class HeapOperationException extends DataStructureException {
    @Serial
    private static final long serialVersionUID = 6700152770758060898L;

    /**
     * No arg construction
     */
    public HeapOperationException() {
        super();
    }

    /**
     * With error message
     * @param errorMsg error message
     */
    public HeapOperationException(String errorMsg) {
        super(errorMsg);
    }

    /**
     * With error message and previous exception
     * @param errorMsg error message
     * @param cause previous exception
     */
    public HeapOperationException(String errorMsg , Throwable cause) {
        super(errorMsg , cause);
    }

    /**
     * With previous exception
     * @param cause previous exception
     */
    public HeapOperationException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy