001package jmri.jmrit.operations.trains;
002
003/**
004 * Build failed exception.
005 *
006 * @author Daniel Boudreau Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013,
007 * 2014
008 */
009public class BuildFailedException extends Exception {
010
011    public final static String NORMAL = "normal"; // NOI18N
012    public final static String STAGING = "staging"; // NOI18N
013    private String type = NORMAL;
014
015    public BuildFailedException(String s, String type) {
016        super(s);
017        this.type = type;
018    }
019
020    public BuildFailedException(String s) {
021        super(s);
022    }
023
024    public BuildFailedException(Exception ex) {
025        super(ex);
026    }
027
028    public String getExceptionType() {
029        return type;
030    }
031
032}