491858e2aac358828c779a65e2c4c2569fb446e7
[controller.git] / opendaylight / md-sal / zeromq-routingtable / implementation / src / main / java / org / opendaylight / controller / sal / connector / remoterpc / api / SystemException.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9
10
11 package org.opendaylight.controller.sal.connector.remoterpc.api;
12
13 /**
14  * @author: syedbahm
15  *
16  */
17 public class SystemException extends  Exception {
18     /**
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}.
22      */
23     public SystemException() {
24         super();
25     }
26
27     /**
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}.
31      *
32      * @param message the detail message. The detail message is saved for
33      *                later retrieval by the {@link #getMessage()} method.
34      */
35     public SystemException(String message) {
36         super(message);
37     }
38
39     /**
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.
44      *
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
50      *                unknown.)
51      * @since 1.4
52      */
53     public SystemException(String message, Throwable cause) {
54         super(message, cause);
55     }
56 }