blob: 14c8496e91c0ca9f4e9b3a5f26d525f77d804506 [file] [log] [blame]
Brian O'Connor520c0522014-11-23 23:50:47 -08001package org.onlab.onos.core;
2
3/**
4 * Represents that there is no available IDs.
5 */
6public class UnavailableIdException extends RuntimeException {
7
8 private static final long serialVersionUID = -2287403908433720122L;
9
10 /**
11 * Constructs an exception with no message and no underlying cause.
12 */
13 public UnavailableIdException() {
14 }
15
16 /**
17 * Constructs an exception with the specified message.
18 *
19 * @param message the message describing the specific nature of the error
20 */
21 public UnavailableIdException(String message) {
22 super(message);
23 }
24
25 /**
26 * Constructs an exception with the specified message and the underlying cause.
27 *
28 * @param message the message describing the specific nature of the error
29 * @param cause the underlying cause of this error
30 */
31 public UnavailableIdException(String message, Throwable cause) {
32 super(message, cause);
33 }
34}