[infrastructure] add external null-annotations (#8848)
Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
package org.openhab.binding.enturno.internal.connection;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
|
||||
/**
|
||||
* The {@link EnturCommunicationException} is a communication exception for the connections to Entur API.
|
||||
@@ -24,11 +25,11 @@ public class EnturCommunicationException extends RuntimeException {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public EnturCommunicationException(String message) {
|
||||
public EnturCommunicationException(@Nullable String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public EnturCommunicationException(String message, Throwable cause) {
|
||||
public EnturCommunicationException(@Nullable String message, @Nullable Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user