Replace printStackTrace() with proper logging in TMF and LTTng
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / exceptions / TmfTraceException.java
1 /*******************************************************************************
2 * Copyright (c) 2012 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.tmf.core.exceptions;
14
15 /**
16 * TMF trace related exception
17 */
18 public class TmfTraceException extends Exception {
19
20 /**
21 * The exception version ID
22 */
23 private static final long serialVersionUID = -6829650938285722133L;
24
25 /**
26 * Constructor
27 *
28 * @param errMsg the error message
29 */
30 public TmfTraceException(String errMsg) {
31 super(errMsg);
32 }
33
34 /**
35 * Constructor
36 *
37 * @param errMsg the error message
38 * @param cause the error cause (<code>null</code> is permitted which means no cause is available)
39 */
40 public TmfTraceException(String errMsg, Throwable cause) {
41 super(errMsg, cause);
42 }
43 }
This page took 0.033984 seconds and 6 git commands to generate.