|
24 | 24 | package dev.hypera.chameleon.annotations.exception;
|
25 | 25 |
|
26 | 26 | import dev.hypera.chameleon.exception.ChameleonRuntimeException;
|
| 27 | +import org.jetbrains.annotations.ApiStatus.Internal; |
27 | 28 |
|
28 | 29 | /**
|
29 | 30 | * Chameleon extension exception.
|
30 | 31 | */
|
31 |
| -public class ChameleonAnnotationException extends ChameleonRuntimeException { |
| 32 | +public final class ChameleonAnnotationException extends ChameleonRuntimeException { |
32 | 33 |
|
33 | 34 | private static final long serialVersionUID = 3638644893311787308L;
|
34 | 35 |
|
35 | 36 | /**
|
36 |
| - * {@link ChameleonAnnotationException} constructor. |
| 37 | + * Chameleon annotation exception constructor. |
37 | 38 | */
|
| 39 | + @Internal |
38 | 40 | public ChameleonAnnotationException() {
|
39 | 41 | super();
|
40 | 42 | }
|
41 | 43 |
|
42 | 44 | /**
|
43 |
| - * {@link ChameleonAnnotationException} constructor. |
| 45 | + * Chameleon annotation exception constructor. |
44 | 46 | *
|
45 | 47 | * @param message Exception message.
|
46 | 48 | */
|
| 49 | + @Internal |
47 | 50 | public ChameleonAnnotationException(String message) {
|
48 | 51 | super(message);
|
49 | 52 | }
|
50 | 53 |
|
51 | 54 | /**
|
52 |
| - * {@link ChameleonAnnotationException} constructor. |
| 55 | + * Chameleon annotation exception constructor. |
53 | 56 | *
|
54 | 57 | * @param message Exception message.
|
55 | 58 | * @param cause Exception cause.
|
56 | 59 | */
|
| 60 | + @Internal |
57 | 61 | public ChameleonAnnotationException(String message, Throwable cause) {
|
58 | 62 | super(message, cause);
|
59 | 63 | }
|
60 | 64 |
|
61 | 65 | /**
|
62 |
| - * {@link ChameleonAnnotationException} constructor. |
| 66 | + * Chameleon annotation exception constructor. |
63 | 67 | *
|
64 | 68 | * @param cause Exception cause.
|
65 | 69 | */
|
| 70 | + @Internal |
66 | 71 | public ChameleonAnnotationException(Throwable cause) {
|
67 | 72 | super(cause);
|
68 | 73 | }
|
69 | 74 |
|
70 |
| - protected ChameleonAnnotationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { |
| 75 | + @Internal |
| 76 | + ChameleonAnnotationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) { |
71 | 77 | super(message, cause, enableSuppression, writableStackTrace);
|
72 | 78 | }
|
73 | 79 |
|
|
0 commit comments