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

org.dspace.xmlworkflow.WorkflowException Maven / Gradle / Ivy

/**
 * The contents of this file are subject to the license and copyright
 * detailed in the LICENSE and NOTICE files at the root of the source
 * tree and available online at
 *
 * http://www.dspace.org/license/
 */
package org.dspace.xmlworkflow;

/**
 * Exception for problems with the execution of the actions and steps
 *
 * @author Bram De Schouwer (bram.deschouwer at dot com)
 * @author Kevin Van de Velde (kevin at atmire dot com)
 * @author Ben Bosman (ben at atmire dot com)
 * @author Mark Diggory (markd at atmire dot com)
 */
public class WorkflowException extends Exception{

    private String reason;

    public WorkflowException(String reason){
        this.reason = reason;
    }
    public String toString(){
        return reason;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy