blob: f90ef33da489cd820b2468379d3d7a09be156744 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 École Polytechnique de Montréal
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.tracecompass.incubator.internal.xaf.ui.statemachine;
/**
* @author Raphaël Beamonte
*/
public class StateMachineSCXMLException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* Constructs a new exception with null as its detail message.
*
*/
public StateMachineSCXMLException() {
super();
}
/**
* Constructs a new exception with the specified detail message.
*
* @param message The message
*/
public StateMachineSCXMLException(String message) {
super(message);
}
/**
* Constructs a new exception with the specified detail message and cause.
*
* @param message The message
* @param cause The cause
*/
public StateMachineSCXMLException(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs a new exception with the specified detail message, cause,
* suppression enabled or disabled, and writable stack trace enabled or
* disabled.
*
* @param message The message
* @param cause The cause
* @param enableSuppression Whether or not to enable suppression
* @param writableStackTrace Whether or not to set the stack trace as writeable
*/
public StateMachineSCXMLException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
/**
* Constructs a new exception with the specified cause and a detail message
* of (cause==null ? null : cause.toString()) (which typically contains the
* class and detail message of cause).
*
* @param cause The cause
*/
public StateMachineSCXMLException(Throwable cause) {
super(cause);
}
}