Contribute native CTF Parser (bug370499)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / ctf / core / trace / CTFReaderException.java
CommitLineData
866e5b51
FC
1/*******************************************************************************
2 * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
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: Alexandre Montplaisir - Initial API and implementation
10 *******************************************************************************/
11
12package org.eclipse.linuxtools.ctf.core.trace;
13
14/**
15 * General exception that is thrown when there is a problem somewhere with the
16 * CTF trace reader.
17 *
18 * @author alexmont
19 *
20 */
21public 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 */
37 public CTFReaderException(String message) {
38 super(message);
39 }
40
41 /**
42 * Re-throw an exception into this type.
43 *
44 * @param e
45 * The previous Exception we caught.
46 */
47 public CTFReaderException(Exception e) {
48 super(e);
49 }
50}
This page took 0.027007 seconds and 5 git commands to generate.