1 /*******************************************************************************
2 * Copyright (c) 2012, 2015 Ericsson
3 * Copyright (c) 2010, 2011 École Polytechnique de Montréal
4 * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
6 * All rights reserved. This program and the accompanying materials are
7 * made available under the terms of the Eclipse Public License v1.0 which
8 * accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
12 * Alexandre Montplaisir - Initial API and implementation
13 * Patrick Tasse - Add message to exceptions
14 *******************************************************************************/
16 package org
.eclipse
.tracecompass
.statesystem
.core
.exceptions
;
19 * Generic exception for when the user specifies an invalid time stamp. Usually
20 * timestamps must be within the range of the trace or state history being
23 * For insertions, it's forbidden to insert new states "in the past" (before where
24 * the cursor is), so this exception is also thrown in that case.
26 * @author Alexandre Montplaisir
28 public class TimeRangeException
extends RuntimeException
{
30 private static final long serialVersionUID
= -4067685227260254532L;
35 public TimeRangeException() {
39 * Constructor with a message
42 * Message to attach to this exception
45 public TimeRangeException(String message
) {
50 * Constructor with both a message and a cause.
53 * Message to attach to this exception
55 * Cause of this exception
58 public TimeRangeException(String message
, Throwable e
) {
This page took 0.034949 seconds and 5 git commands to generate.