2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
11 package org.opendaylight.controller.sal.connector.remoterpc.api;
17 public class SystemException extends Exception {
19 * Constructs a new exception with {@code null} as its detail message.
20 * The cause is not initialized, and may subsequently be initialized by a
21 * call to {@link #initCause}.
23 public SystemException() {
28 * Constructs a new exception with the specified detail message. The
29 * cause is not initialized, and may subsequently be initialized by
30 * a call to {@link #initCause}.
32 * @param message the detail message. The detail message is saved for
33 * later retrieval by the {@link #getMessage()} method.
35 public SystemException(String message) {
40 * Constructs a new exception with the specified detail message and
41 * cause. <p>Note that the detail message associated with
42 * {@code cause} is <i>not</i> automatically incorporated in
43 * this exception's detail message.
45 * @param message the detail message (which is saved for later retrieval
46 * by the {@link #getMessage()} method).
47 * @param cause the cause (which is saved for later retrieval by the
48 * {@link #getCause()} method). (A <tt>null</tt> value is
49 * permitted, and indicates that the cause is nonexistent or
53 public SystemException(String message, Throwable cause) {
54 super(message, cause);