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

org.drools.task.service.CannotAddTaskException Maven / Gradle / Ivy

There is a newer version: 5.1.1
Show newest version
package org.drools.task.service;

/**
 * Exception thrown from the TaskServiceSession when there is a problem adding task. This exception
 * is specififically thrown when custom logic in rules has not allowed the Task to be added.
 *
 * @author dave sinclair
 * @see org.drools.task.service.TaskServiceSession#addTask(org.drools.task.Task, ContentData)
 */
public class CannotAddTaskException extends TaskException {
    public CannotAddTaskException(String message) {
        super(message);
    }

    public CannotAddTaskException(String message, Throwable cause) {
        super(message, cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy