From 339b5bdab0b83d9edb587499a20909cc16af371d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lo=C3=AFc=20Prieur-Drevon?= Date: Fri, 31 Mar 2017 15:07:26 -0400 Subject: [PATCH] tmf.core: Build a TmfAnalysisException from any type of Throwable. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I6b92592ff5092b2941259dcf8958a20a79fd974c Signed-off-by: Loïc Prieur-Drevon Reviewed-on: https://git.eclipse.org/r/94242 Reviewed-by: Hudson CI Reviewed-by: Matthew Khouzam Tested-by: Matthew Khouzam Reviewed-by: Patrick Tasse --- .../tmf/core/exceptions/TmfAnalysisException.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/exceptions/TmfAnalysisException.java b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/exceptions/TmfAnalysisException.java index fc16b0b3b6..3170db633f 100644 --- a/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/exceptions/TmfAnalysisException.java +++ b/tmf/org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/exceptions/TmfAnalysisException.java @@ -43,4 +43,15 @@ public class TmfAnalysisException extends Exception { super(message); } + /** + * Constructs a new exception with the specified cause. + * + * @param cause + * The cause + * @since 2.4 + */ + public TmfAnalysisException(Throwable cause) { + super(cause); + } + } -- 2.34.1