
org.dspace.workflow.WorkflowException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dspace-api Show documentation
Show all versions of dspace-api Show documentation
DSpace core data model and service APIs.
The newest version!
/**
* 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.workflow;
/**
* 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(Throwable cause) {
super(cause);
}
public WorkflowException(String reason) {
this.reason = reason;
}
@Override
public String getMessage() {
return reason;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy