1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package io.netty.util;
18
19
20
21
22
23 public class IllegalReferenceCountException extends IllegalStateException {
24
25 private static final long serialVersionUID = -2507492394288153468L;
26
27 public IllegalReferenceCountException() { }
28
29 public IllegalReferenceCountException(int refCnt) {
30 this("refCnt: " + refCnt);
31 }
32
33 public IllegalReferenceCountException(int refCnt, int increment) {
34 this("refCnt: " + refCnt + ", " + (increment > 0? "increment: " + increment : "decrement: " + -increment));
35 }
36
37 public IllegalReferenceCountException(String message) {
38 super(message);
39 }
40
41 public IllegalReferenceCountException(String message, Throwable cause) {
42 super(message, cause);
43 }
44
45 public IllegalReferenceCountException(Throwable cause) {
46 super(cause);
47 }
48 }