Skip to content

Commit 3475ae2

Browse files
committed
docs(annoations): improve javadoc for annotation exception
1 parent fe93b7f commit 3475ae2

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

annotations/src/main/java/dev/hypera/chameleon/annotations/exception/ChameleonAnnotationException.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,50 +24,56 @@
2424
package dev.hypera.chameleon.annotations.exception;
2525

2626
import dev.hypera.chameleon.exception.ChameleonRuntimeException;
27+
import org.jetbrains.annotations.ApiStatus.Internal;
2728

2829
/**
2930
* Chameleon extension exception.
3031
*/
31-
public class ChameleonAnnotationException extends ChameleonRuntimeException {
32+
public final class ChameleonAnnotationException extends ChameleonRuntimeException {
3233

3334
private static final long serialVersionUID = 3638644893311787308L;
3435

3536
/**
36-
* {@link ChameleonAnnotationException} constructor.
37+
* Chameleon annotation exception constructor.
3738
*/
39+
@Internal
3840
public ChameleonAnnotationException() {
3941
super();
4042
}
4143

4244
/**
43-
* {@link ChameleonAnnotationException} constructor.
45+
* Chameleon annotation exception constructor.
4446
*
4547
* @param message Exception message.
4648
*/
49+
@Internal
4750
public ChameleonAnnotationException(String message) {
4851
super(message);
4952
}
5053

5154
/**
52-
* {@link ChameleonAnnotationException} constructor.
55+
* Chameleon annotation exception constructor.
5356
*
5457
* @param message Exception message.
5558
* @param cause Exception cause.
5659
*/
60+
@Internal
5761
public ChameleonAnnotationException(String message, Throwable cause) {
5862
super(message, cause);
5963
}
6064

6165
/**
62-
* {@link ChameleonAnnotationException} constructor.
66+
* Chameleon annotation exception constructor.
6367
*
6468
* @param cause Exception cause.
6569
*/
70+
@Internal
6671
public ChameleonAnnotationException(Throwable cause) {
6772
super(cause);
6873
}
6974

70-
protected ChameleonAnnotationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
75+
@Internal
76+
ChameleonAnnotationException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
7177
super(message, cause, enableSuppression, writableStackTrace);
7278
}
7379

0 commit comments

Comments
 (0)