ctf: no longer rely on default character encoding in Metadata.java
[deliverable/tracecompass.git] / ctf / org.eclipse.tracecompass.ctf.core / src / org / eclipse / tracecompass / ctf / core / trace / CTFIOException.java
1 /*******************************************************************************
2 * Copyright (c) 2015 Ericsson
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: Matthew Khouzam - Initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.tracecompass.ctf.core.trace;
12
13 import org.eclipse.tracecompass.ctf.core.CTFException;
14
15 /**
16 * An exception just for trace readers and writers
17 *
18 * @since 1.0
19 */
20 public class CTFIOException extends CTFException {
21
22 /**
23 * Unique ID
24 */
25 private static final long serialVersionUID = -2216400542574921838L;
26
27 /**
28 * Constructor with an attached message.
29 *
30 * @param message
31 * The message attached to this exception
32 */
33 public CTFIOException(String message) {
34 super(message);
35 }
36
37 /**
38 * Constructor with an attached message.
39 *
40 * @param e
41 * The exception attached to this exception
42 */
43 public CTFIOException(Exception e) {
44 super(e);
45 }
46
47 /**
48 * Constructor with an attached message and exception.
49 *
50 * @param message
51 * The message attached to this exception
52 * @param e
53 * The encapsulated exception
54 * @since 1.0
55 */
56 public CTFIOException(String message, Exception e) {
57 super(message, e);
58 }
59
60 }
This page took 0.038719 seconds and 5 git commands to generate.