| 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: 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 | } |