btf: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.linuxtools.ctf.core / src / org / eclipse / linuxtools / internal / ctf / core / event / metadata / exceptions / ParseException.java
1 /*******************************************************************************
2 * Copyright (c) 2011, 2013 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: Matthew Khouzam - Initial API and implementation
10 * Contributors: Simon Marchi - Initial API and implementation
11 *******************************************************************************/
12
13 package org.eclipse.linuxtools.internal.ctf.core.event.metadata.exceptions;
14
15
16 /**
17 * <b><u>ParseException</u></b>
18 */
19 public class ParseException extends Exception {
20
21 private static final long serialVersionUID = 7901917601459652080L;
22
23 /**
24 * Empty constructor
25 */
26 public ParseException() {
27 super();
28 }
29
30 /**
31 * Constructor
32 *
33 * @param message to be sent to logs
34 */
35 public ParseException(String message) {
36 super(message);
37 }
38
39 /**
40 * Copy constructor
41 * @param e the exception to throw
42 */
43 public ParseException(Exception e) {
44 super(e);
45 }
46
47 /**
48 * Constructs a new exception with the specified detail message and
49 * cause. <p>Note that the detail message associated with
50 * {@code cause} is <i>not</i> automatically incorporated in
51 * this exception's detail message.
52 *
53 * @param message the detail message (which is saved for later retrieval
54 * by the {@link #getMessage()} method).
55 * @param cause the cause (which is saved for later retrieval by the
56 * {@link #getCause()} method). (A <tt>null</tt> value is
57 * permitted, and indicates that the cause is nonexistent or
58 * unknown.)
59 */
60 public ParseException(String message, Exception cause) {
61 super(message, cause);
62 }
63 }
This page took 0.036335 seconds and 5 git commands to generate.