Skip to content

Commit ac2c1c0

Browse files
committed
Hide some exception classes which do not need to be public (internal only)
1 parent e54bee6 commit ac2c1c0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/de/thetaphi/forbiddenapis/WrapperRuntimeException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818

1919
@SuppressWarnings("serial")
20-
public final class WrapperRuntimeException extends RuntimeException {
20+
final class WrapperRuntimeException extends RuntimeException {
2121

2222
public WrapperRuntimeException(Exception e) {
2323
super(e);

src/main/java/de/thetaphi/forbiddenapis/cli/ExitException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Used by the CLI to signal process exit with a specific exit code
55
*/
66
@SuppressWarnings("serial")
7-
public final class ExitException extends Exception {
7+
final class ExitException extends Exception {
88
public final int exitCode;
99

1010
public ExitException(int exitCode) {

0 commit comments

Comments
 (0)