blob: 423a51f3376f2ebc3e6aa2ae9e25cd0367d149f9 [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.core.statemachine.exception;
/**
* Exception emitted when no valid case is found for comparison
*
* @author Raphaël Beamonte
*/
public class StateMachineNoValidCaseException extends Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
/**
* Constructs a new exception with null as its detail message.
*
*/
public StateMachineNoValidCaseException() {
super();
}
/**
* Constructs a new exception with the specified detail message.
*
* @param message
* The message
*/
public StateMachineNoValidCaseException(String message) {
super(message);
}
/**
* Constructs a new exception with the specified detail message and cause.
*
* @param message
* The message
* @param cause
* The cause
*/
public StateMachineNoValidCaseException(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 StateMachineNoValidCaseException(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 StateMachineNoValidCaseException(Throwable cause) {
super(cause);
}
}