Remove all existing @since annotations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / CTFReaderException.java
1 /*******************************************************************************
2 * Copyright (c) 2011, 2014 Ericsson, Ecole Polytechnique de Montreal
3 *
4 * All rights reserved. This program and the accompanying materials are made
5 * available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Alexandre Montplaisir - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.tracecompass.ctf.core;
14
15 /**
16 * General exception that is thrown when there is a problem somewhere with the
17 * CTF trace reader.
18 *
19 * @author Alexandre Montplaisir
20 */
21 public class CTFReaderException extends Exception {
22
23 private static final long serialVersionUID = 2065258365219777672L;
24
25 /**
26 * Default constructor with no message.
27 */
28 public CTFReaderException() {
29 super();
30 }
31
32 /**
33 * Constructor with an attached message.
34 *
35 * @param message
36 * The message attached to this exception
37 */
38 public CTFReaderException(String message) {
39 super(message);
40 }
41
42 /**
43 * Re-throw an exception into this type.
44 *
45 * @param e
46 * The previous Exception we caught
47 */
48 public CTFReaderException(Exception e) {
49 super(e);
50 }
51
52 /**
53 * Constructor with an attached message and re-throw an exception into this type.
54 *
55 * @param message
56 * The message attached to this exception
57 * @param exception
58 * The previous Exception caught
59 */
60 public CTFReaderException(String message, Throwable exception) {
61 super(message, exception);
62 }
63
64 }
This page took 0.063053 seconds and 5 git commands to generate.