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

org.openbpmn.bpmn.exceptions.BPMNMissingElementException Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
/*  
 *  Imixs-Workflow 
 *  
 *  Copyright (C) 2001-2020 Imixs Software Solutions GmbH,  
 *  http://www.imixs.com
 *  
 *  This program is free software; you can redistribute it and/or 
 *  modify it under the terms of the GNU General Public License 
 *  as published by the Free Software Foundation; either version 2 
 *  of the License, or (at your option) any later version.
 *  
 *  This program is distributed in the hope that it will be useful, 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
 *  General Public License for more details.
 *  
 *  You can receive a copy of the GNU General Public
 *  License at http://www.gnu.org/licenses/gpl.html
 *  
 *  Project: 
 *      https://www.imixs.org
 *      https://github.com/imixs/imixs-workflow
 *  
 *  Contributors:  
 *      Imixs Software Solutions GmbH - Project Management
 *      Ralph Soika - Software Developer
 */

package org.openbpmn.bpmn.exceptions;

/**
 * The BPMNMissingElementException is thrown in case the current BPMN model is
 * missing an expected element node.
 * 
 * @author rsoika
 * 
 */
public class BPMNMissingElementException extends BPMNModelException {

    public static final String MISSING_ELEMENT = "MISSING_ELEMENT";
    public static final String MISSING_ID = "MISSING_ID";

    private static final long serialVersionUID = 1L;

    public BPMNMissingElementException(String message) {
        super(MISSING_ELEMENT, message);
    }

    public BPMNMissingElementException(String aErrorCode, String message) {
        super(aErrorCode, message);
    }

    public BPMNMissingElementException(String aErrorCode, String message, Exception e) {
        super(aErrorCode, message, e);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy