[fixes #3665] Add cast for null arguments

This commit is contained in:
Rawi01 committed 2024-05-24 00:58:35 +02:00
1 parent 30e19e4cdc
commit 52283d71cc
7 files changed
+70 -9

No files matched your search

@@ -0,0 +1,20 @@
import lombok.experimental.StandardException;
public @StandardException class StandardExceptionWithConstructor extends Exception {
public StandardExceptionWithConstructor(Integer x, Integer y) {
super();
}
public @java.lang.SuppressWarnings("all") @lombok.Generated StandardExceptionWithConstructor() {
this((java.lang.String) null, (java.lang.Throwable) null);
}
public @java.lang.SuppressWarnings("all") @lombok.Generated StandardExceptionWithConstructor(final java.lang.String message) {
this(message, (java.lang.Throwable) null);
}
public @java.lang.SuppressWarnings("all") @lombok.Generated StandardExceptionWithConstructor(final java.lang.Throwable cause) {
this(((cause != null) ? cause.getMessage() : null), cause);
}
public @java.lang.SuppressWarnings("all") @lombok.Generated StandardExceptionWithConstructor(final java.lang.String message, final java.lang.Throwable cause) {
super(message);
if ((cause != null))
super.initCause(cause);
}
}