1 /*******************************************************************************
2 * Copyright (c) 2009 Ericsson
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
10 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.lttng
.state
;
20 public class LttngStateException
extends Exception
{
24 private static final long serialVersionUID
= 7122881233964952441L;
27 * Constructs an {@code LttngStateException} with {@code null} as its error detail
30 public LttngStateException() {
35 * Constructs an {@code LttngStateException} with the specified detail message.
38 * The detail message (which is saved for later retrieval by the
39 * {@link #getMessage()} method)
41 public LttngStateException(String message
) {
46 * Constructs an {@code LttngStateException} with the specified detail message and
50 * Note that the detail message associated with {@code cause} is <i>not</i>
51 * automatically incorporated into this exception's detail message.
54 * The detail message (which is saved for later retrieval by the
55 * {@link #getMessage()} method)
58 * The cause (which is saved for later retrieval by the
59 * {@link #getCause()} method). (A null value is permitted, and
60 * indicates that the cause is nonexistent or unknown.)
64 public LttngStateException(String message
, Throwable cause
) {
65 super(message
, cause
);
69 * Constructs an {@code LttngStateException} with the specified cause and a detail
70 * message of {@code (cause==null ? null : cause.toString())} (which
71 * typically contains the class and detail message of {@code cause}). This
72 * constructor is useful for exceptions that are little more than
73 * wrappers for other throwables.
76 * The cause (which is saved for later retrieval by the
77 * {@link #getCause()} method). (A null value is permitted, and
78 * indicates that the cause is nonexistent or unknown.)
82 public LttngStateException(Throwable cause
) {
This page took 0.039426 seconds and 5 git commands to generate.