blob: 6c07d8deae285adddab7e193b3ede195466cc3a7 [file] [log] [blame]
GUNiba871702016-08-22 21:06:02 +09001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.lisp.msg.exceptions;
17
18/**
19 * LISP address or message writer exception.
20 */
21public class LispWriterException extends Exception {
22
23 /**
24 * Constructor for LispWriterException.
25 */
26 public LispWriterException() {
27 super();
28 }
29
30 /**
31 * Constructor for LispWriterException with message and cause parameters.
32 *
33 * @param message exception message
34 * @param cause throwable cause
35 */
36 public LispWriterException(final String message, final Throwable cause) {
37 super(message, cause);
38 }
39
40 /**
41 * Constructor for LispWriterException with message parameter.
42 *
43 * @param message exception message
44 */
45 public LispWriterException(final String message) {
46 super(message);
47 }
48
49 /**
50 * Constructor for LispWriterException with cause parameter.
51 *
52 * @param cause throwable cause
53 */
54 public LispWriterException(final Throwable cause) {
55 super(cause);
56 }
57}