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

com.englishtown.promises.internal.handlers.CycleHandler Maven / Gradle / Ivy

The newest version!
package com.englishtown.promises.internal.handlers;

import com.englishtown.promises.exceptions.CycleException;
import com.englishtown.promises.internal.PromiseHelper;

/**
 * Rejection handler for cyclic promises
 */
public class CycleHandler extends RejectedHandler {

    public CycleHandler(PromiseHelper helper) {
        super(new CycleException("Promise cycle"), helper);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy