* Fix typo: occured
* Fix typo: transfered

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2025-02-02 14:43:29 +01:00 committed by GitHub
parent e7d44c9632
commit 3c972b9f92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
64 changed files with 98 additions and 98 deletions

View File

@ -302,13 +302,13 @@ public class PhilipsTVConnectionManager implements DiscoveryListener {
initPairingCodeRetrieval(target); initPairingCodeRetrieval(target);
} catch (IOException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException e) { } catch (IOException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException e) {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
"offline.error-occured-while-presenting-pairing-code"); "offline.error-occurred-while-presenting-pairing-code");
} }
} else { } else {
boolean hasFailed = initCredentialsRetrieval(target, command.toString()); boolean hasFailed = initCredentialsRetrieval(target, command.toString());
if (hasFailed) { if (hasFailed) {
postUpdateThing(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR, postUpdateThing(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
"offline.error-occured-during-retrieval-of-credentials"); "offline.error-occurred-during-retrieval-of-credentials");
return; return;
} }
readConfigs(); readConfigs();

View File

@ -165,8 +165,8 @@ offline.interrupted = Interrupted
offline.io-error = I/O Error offline.io-error = I/O Error
offline.runtime-exception = Runtime exception offline.runtime-exception = Runtime exception
offline.user-forced-pin-process = User Forced PIN Process offline.user-forced-pin-process = User Forced PIN Process
offline.error-occured-while-presenting-pairing-code = Error occurred while trying to present a Pairing Code on TV offline.error-occurred-while-presenting-pairing-code = Error occurred while trying to present a Pairing Code on TV
offline.error-occured-during-retrieval-of-credentials = Error occurred during retrieval of credentials offline.error-occurred-during-retrieval-of-credentials = Error occurred during retrieval of credentials
offline.pairing-is-not-configured-yet = Pairing is not configured yet offline.pairing-is-not-configured-yet = Pairing is not configured yet
offline.error-occurred-while-trying-to-present-a-pairing-code-on-tv = Error occurred while trying to present a Pairing Code on TV offline.error-occurred-while-trying-to-present-a-pairing-code-on-tv = Error occurred while trying to present a Pairing Code on TV
offline.pairing-code-is-available-but-credentials-missing = Pairing Code is available, but credentials missing. Trying to retrieve them offline.pairing-code-is-available-but-credentials-missing = Pairing Code is available, but credentials missing. Trying to retrieve them

View File

@ -514,7 +514,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
try { try {
return sendCommand(command, BlueGigaConnectDirectResponse.class, true).getResult() == BgApiResponse.SUCCESS; return sendCommand(command, BlueGigaConnectDirectResponse.class, true).getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending connect command to device {}, reason: {}.", address, logger.debug("Error occurred when sending connect command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -534,7 +534,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
try { try {
return sendCommand(command, BlueGigaDisconnectResponse.class, true).getResult() == BgApiResponse.SUCCESS; return sendCommand(command, BlueGigaDisconnectResponse.class, true).getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending disconnect command to device {}, reason: {}.", address, logger.debug("Error occurred when sending disconnect command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -560,7 +560,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
return sendCommand(command, BlueGigaReadByGroupTypeResponse.class, true) return sendCommand(command, BlueGigaReadByGroupTypeResponse.class, true)
.getResult() == BgApiResponse.SUCCESS; .getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending read primary services command to device {}, reason: {}.", address, logger.debug("Error occurred when sending read primary services command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -585,7 +585,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
return sendCommand(command, BlueGigaFindInformationResponse.class, true) return sendCommand(command, BlueGigaFindInformationResponse.class, true)
.getResult() == BgApiResponse.SUCCESS; .getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending read characteristics command to device {}, reason: {}.", address, logger.debug("Error occurred when sending read characteristics command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -604,7 +604,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
try { try {
return sendCommand(command, BlueGigaReadByTypeResponse.class, true).getResult() == BgApiResponse.SUCCESS; return sendCommand(command, BlueGigaReadByTypeResponse.class, true).getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending read characteristics command to device {}, reason: {}.", address, logger.debug("Error occurred when sending read characteristics command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -628,7 +628,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
try { try {
return sendCommand(command, BlueGigaReadByHandleResponse.class, true).getResult() == BgApiResponse.SUCCESS; return sendCommand(command, BlueGigaReadByHandleResponse.class, true).getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending read characteristics command to device {}, reason: {}.", address, logger.debug("Error occurred when sending read characteristics command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -655,7 +655,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
return sendCommand(command, BlueGigaAttributeWriteResponse.class, true) return sendCommand(command, BlueGigaAttributeWriteResponse.class, true)
.getResult() == BgApiResponse.SUCCESS; .getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending write characteristics command to device {}, reason: {}.", address, logger.debug("Error occurred when sending write characteristics command to device {}, reason: {}.", address,
e.getMessage()); e.getMessage());
return false; return false;
} }
@ -669,7 +669,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
return sendCommandWithoutChecks(new BlueGigaEndProcedureCommand(), BlueGigaEndProcedureResponse.class) return sendCommandWithoutChecks(new BlueGigaEndProcedureCommand(), BlueGigaEndProcedureResponse.class)
.getResult() == BgApiResponse.SUCCESS; .getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending end procedure command."); logger.debug("Error occurred when sending end procedure command.");
return false; return false;
} }
} }
@ -685,7 +685,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
return sendCommandWithoutChecks(command, BlueGigaSetModeResponse.class) return sendCommandWithoutChecks(command, BlueGigaSetModeResponse.class)
.getResult() == BgApiResponse.SUCCESS; .getResult() == BgApiResponse.SUCCESS;
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending set mode command, reason: {}", e.getMessage()); logger.debug("Error occurred when sending set mode command, reason: {}", e.getMessage());
return false; return false;
} }
} }
@ -715,7 +715,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
} }
} }
} catch (BlueGigaException e) { } catch (BlueGigaException e) {
logger.debug("Error occured when sending start scan command, reason: {}", e.getMessage()); logger.debug("Error occurred when sending start scan command, reason: {}", e.getMessage());
} }
logger.debug("Scan start failed."); logger.debug("Scan start failed.");
return false; return false;

View File

@ -178,7 +178,7 @@ public class BlueZBluetoothDevice extends BaseBluetoothDevice implements BlueZEv
// Catch "software caused connection abort" // Catch "software caused connection abort"
return false; return false;
} catch (Exception e) { } catch (Exception e) {
logger.warn("error occured while trying to connect", e); logger.warn("error occurred while trying to connect", e);
} }
} else { } else {
logger.debug("Device was already connected"); logger.debug("Device was already connected");

View File

@ -53,7 +53,7 @@ public class EnoceanBleRockerHandler extends BeaconBluetoothHandler {
} }
} }
} catch (IllegalStateException e) { } catch (IllegalStateException e) {
logger.warn("PTM215B event could not be parsed correctly, exception occured:", e); logger.warn("PTM215B event could not be parsed correctly, exception occurred:", e);
} }
} }

View File

@ -283,7 +283,7 @@ public class BluetoothDiscoveryService extends AbstractDiscoveryService implemen
return result; return result;
}).whenComplete((r, t) -> { }).whenComplete((r, t) -> {
if (t != null) { if (t != null) {
logger.warn("Error occured during discovery of {}", device.getAddress(), t); logger.warn("Error occurred during discovery of {}", device.getAddress(), t);
} }
}); });

View File

@ -31,7 +31,7 @@ public interface ConnectionListener {
*/ */
final String CONNECTION_LOST = "connLost"; final String CONNECTION_LOST = "connLost";
/** /**
* State, if a ssl handshake problem occured while communicating with the digitalSTROM-Server. * State, if a ssl handshake problem occurred while communicating with the digitalSTROM-Server.
*/ */
final String SSL_HANDSHAKE_ERROR = "sslHandshakeError"; final String SSL_HANDSHAKE_ERROR = "sslHandshakeError";
/** /**

View File

@ -497,7 +497,7 @@ public class EnOceanBridgeHandler extends ConfigStatusBridgeHandler implements T
} }
@Override @Override
public void errorOccured(Throwable exception) { public void errorOccurred(Throwable exception) {
EnOceanTransceiver localTransceiver = transceiver; EnOceanTransceiver localTransceiver = transceiver;
if (localTransceiver != null) { if (localTransceiver != null) {
localTransceiver.shutDown(); localTransceiver.shutDown();

View File

@ -162,7 +162,7 @@ public class EnOceanESP2Transceiver extends EnOceanTransceiver {
logger.trace("Unable to process message", ioexception); logger.trace("Unable to process message", ioexception);
TransceiverErrorListener localListener = errorListener; TransceiverErrorListener localListener = errorListener;
if (localListener != null) { if (localListener != null) {
localListener.errorOccured(ioexception); localListener.errorOccurred(ioexception);
} }
return; return;
} }

View File

@ -193,7 +193,7 @@ public class EnOceanESP3Transceiver extends EnOceanTransceiver {
logger.trace("Unable to process message", ioexception); logger.trace("Unable to process message", ioexception);
TransceiverErrorListener localListener = errorListener; TransceiverErrorListener localListener = errorListener;
if (localListener != null) { if (localListener != null) {
localListener.errorOccured(ioexception); localListener.errorOccurred(ioexception);
} }
return; return;
} }

View File

@ -135,7 +135,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
logger.trace("Unable to process message", e); logger.trace("Unable to process message", e);
TransceiverErrorListener localListener = errorListener; TransceiverErrorListener localListener = errorListener;
if (localListener != null) { if (localListener != null) {
localListener.errorOccured(e); localListener.errorOccurred(e);
} }
return; return;
} }
@ -253,7 +253,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
try { try {
localInputStream.close(); localInputStream.close();
} catch (IOException e) { } catch (IOException e) {
logger.debug("IOException occured while closing the stream", e); logger.debug("IOException occurred while closing the stream", e);
} }
} }
this.readingTask = null; this.readingTask = null;
@ -269,7 +269,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
try { try {
localOutputStream.close(); localOutputStream.close();
} catch (IOException e) { } catch (IOException e) {
logger.debug("IOException occured while closing the output stream", e); logger.debug("IOException occurred while closing the output stream", e);
} }
} }
@ -278,7 +278,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
try { try {
localInputStream.close(); localInputStream.close();
} catch (IOException e) { } catch (IOException e) {
logger.debug("IOException occured while closing the input stream", e); logger.debug("IOException occurred while closing the input stream", e);
} }
} }
@ -315,7 +315,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
try { try {
return localInputStream.read(buffer, 0, length); return localInputStream.read(buffer, 0, length);
} catch (IOException e) { } catch (IOException e) {
logger.debug("IOException occured while reading the input stream", e); logger.debug("IOException occurred while reading the input stream", e);
return 0; return 0;
} }
} else { } else {
@ -327,7 +327,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
} }
TransceiverErrorListener localListener = errorListener; TransceiverErrorListener localListener = errorListener;
if (localListener != null) { if (localListener != null) {
localListener.errorOccured(new IOException("Cannot read from null stream")); localListener.errorOccurred(new IOException("Cannot read from null stream"));
} }
return 0; return 0;
} }

View File

@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
@NonNullByDefault @NonNullByDefault
public interface TransceiverErrorListener { public interface TransceiverErrorListener {
void errorOccured(Throwable exception); void errorOccurred(Throwable exception);
} }

View File

@ -77,7 +77,7 @@ public class FlicSimpleclientDiscoveryServiceImpl extends AbstractDiscoveryServi
discoverVerifiedButtons(); discoverVerifiedButtons();
} }
} catch (IOException e) { } catch (IOException e) {
logger.warn("Error occured during button discovery", e); logger.warn("Error occurred during button discovery", e);
if (this.scanListener != null) { if (this.scanListener != null) {
scanListener.onErrorOccurred(e); scanListener.onErrorOccurred(e);
} }

View File

@ -102,7 +102,7 @@ public class FlicDaemonBridgeHandler extends BaseBridgeHandler {
flicClient.close(); flicClient.close();
logger.debug("Listening to flicd ended"); logger.debug("Listening to flicd ended");
} catch (IOException e) { } catch (IOException e) {
logger.debug("Error occured while listening to flicd", e); logger.debug("Error occurred while listening to flicd", e);
} finally { } finally {
if (Thread.currentThread().isInterrupted()) { if (Thread.currentThread().isInterrupted()) {
onClientFailure(); onClientFailure();

View File

@ -371,8 +371,8 @@ channel-type.freeboxos.telephony-service.description = Status of the telephony s
channel-type.freeboxos.temperature.label = Temperature channel-type.freeboxos.temperature.label = Temperature
channel-type.freeboxos.temperature.description = Actual measured temperature of the sensor channel-type.freeboxos.temperature.description = Actual measured temperature of the sensor
channel-type.freeboxos.timestamp.label = Timestamp channel-type.freeboxos.timestamp.label = Timestamp
channel-type.freeboxos.transfer-bytes.label = Transfered Bytes channel-type.freeboxos.transfer-bytes.label = Transferred Bytes
channel-type.freeboxos.transfer-bytes.description = Total data transfered since last connection channel-type.freeboxos.transfer-bytes.description = Total data transferred since last connection
channel-type.freeboxos.transfer-rate-bps.label = Transfer Rate channel-type.freeboxos.transfer-rate-bps.label = Transfer Rate
channel-type.freeboxos.transfer-rate-bps.description = Current transfer rate channel-type.freeboxos.transfer-rate-bps.description = Current transfer rate
channel-type.freeboxos.transfer-rate.label = Transfer Rate channel-type.freeboxos.transfer-rate.label = Transfer Rate

View File

@ -126,8 +126,8 @@
<channel-type id="transfer-bytes" advanced="true"> <channel-type id="transfer-bytes" advanced="true">
<item-type unitHint="GB">Number:DataAmount</item-type> <item-type unitHint="GB">Number:DataAmount</item-type>
<label>Transfered Bytes</label> <label>Transferred Bytes</label>
<description>Total data transfered since last connection</description> <description>Total data transferred since last connection</description>
<state readOnly="true" pattern="%.2f %unit%"/> <state readOnly="true" pattern="%.2f %unit%"/>
</channel-type> </channel-type>

View File

@ -184,7 +184,7 @@ public class SimpleFtpFile implements FtpFile {
logger.debug("File len: {}", d.length); logger.debug("File len: {}", d.length);
return d; return d;
} catch (IllegalArgumentException e) { } catch (IllegalArgumentException e) {
logger.debug("Exception occured during data conversion: {}", e.getMessage()); logger.debug("Exception occurred during data conversion: {}", e.getMessage());
} }
return null; return null;
} }

View File

@ -268,7 +268,7 @@ public class ICalendarHandler extends BaseBridgeHandler implements CalendarUpdat
} catch (IllegalArgumentException | IllegalStateException e) { } catch (IllegalArgumentException | IllegalStateException e) {
logger.warn("Event: {}, Command Tag: {} => Unable to push command to target item!", event.title, logger.warn("Event: {}, Command Tag: {} => Unable to push command to target item!", event.title,
cmdTag.getFullTag()); cmdTag.getFullTag());
logger.debug("Exception occured while pushing to item!", e); logger.debug("Exception occurred while pushing to item!", e);
} }
} }
} }

View File

@ -198,7 +198,7 @@ public class ICloudAccountBridgeHandler extends BaseBridgeHandler {
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage()); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
return null; return null;
} catch (Exception e) { } catch (Exception e) {
logger.debug("Unexpected exception occured", e); logger.debug("Unexpected exception occurred", e);
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage()); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
return null; return null;
} }

View File

@ -101,7 +101,7 @@ public class ChannelUtils {
} }
} }
} catch (RuntimeException e) { } catch (RuntimeException e) {
LOGGER.warn("Error occured when adding channels, reason: {}", e.getMessage(), e); LOGGER.warn("Error occurred when adding channels, reason: {}", e.getMessage(), e);
} }
try { try {
@ -122,7 +122,7 @@ public class ChannelUtils {
} }
} }
} catch (RuntimeException e) { } catch (RuntimeException e) {
LOGGER.warn("Error occured when adding channels, reason: {}", e.getMessage(), e); LOGGER.warn("Error occurred when adding channels, reason: {}", e.getMessage(), e);
} }
} else { } else {
LOGGER.warn("Project file data doesn't exist, can't automatically create channels!"); LOGGER.warn("Project file data doesn't exist, can't automatically create channels!");

View File

@ -572,7 +572,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
try { try {
projectFile = ProjectFileUtils.readFromFile(filePath); projectFile = ProjectFileUtils.readFromFile(filePath);
} catch (IhcExecption e) { } catch (IhcExecption e) {
logger.debug("Error occured when read project file from file '{}', reason {}", filePath, logger.debug("Error occurred when read project file from file '{}', reason {}", filePath,
e.getMessage(), e); e.getMessage(), e);
loadProject = true; loadProject = true;
} }
@ -591,7 +591,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
try { try {
ProjectFileUtils.saveToFile(filePath, data); ProjectFileUtils.saveToFile(filePath, data);
} catch (IhcExecption e) { } catch (IhcExecption e) {
logger.warn("Error occured when trying to write data to file '{}', reason {}", filePath, logger.warn("Error occurred when trying to write data to file '{}', reason {}", filePath,
e.getMessage(), e); e.getMessage(), e);
} }
projectFile = ProjectFileUtils.converteBytesToDocument(data); projectFile = ProjectFileUtils.converteBytesToDocument(data);
@ -671,7 +671,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
} }
@Override @Override
public void errorOccured(IhcExecption e) { public void errorOccurred(IhcExecption e) {
logger.warn("Error occurred on communication to IHC controller: {}", e.getMessage(), e); logger.warn("Error occurred on communication to IHC controller: {}", e.getMessage(), e);
logger.debug("Reconnection request"); logger.debug("Reconnection request");
setReconnectRequest(true); setReconnectRequest(true);
@ -724,7 +724,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
} catch (ConversionException e) { } catch (ConversionException e) {
logger.warn("Channel param error, reason: {}.", e.getMessage(), e); logger.warn("Channel param error, reason: {}.", e.getMessage(), e);
} catch (RuntimeException e) { } catch (RuntimeException e) {
logger.warn("Unknown error occured, reason: {}.", e.getMessage(), e); logger.warn("Unknown error occurred, reason: {}.", e.getMessage(), e);
} }
}); });
@ -875,7 +875,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
}); });
}); });
} catch (IhcExecption e) { } catch (IhcExecption e) {
logger.debug("Error occured when fetching RF device information, reason: : {} ", e.getMessage(), e); logger.debug("Error occurred when fetching RF device information, reason: : {} ", e.getMessage(), e);
return; return;
} }
} }

View File

@ -566,7 +566,7 @@ public class IhcClient {
private void sendErrorEvent(IhcExecption err) { private void sendErrorEvent(IhcExecption err) {
eventListeners.forEach(listener -> { eventListeners.forEach(listener -> {
try { try {
listener.errorOccured(err); listener.errorOccurred(err);
} catch (RuntimeException e) { } catch (RuntimeException e) {
logger.debug("Event listener invoking error.", e); logger.debug("Event listener invoking error.", e);
} }

View File

@ -42,5 +42,5 @@ public interface IhcEventListener {
* *
* @param e IhcException occurred. * @param e IhcException occurred.
*/ */
void errorOccured(IhcExecption e); void errorOccurred(IhcExecption e);
} }

View File

@ -64,7 +64,7 @@ public class WSControllerState {
} }
return this; return this;
} catch (IOException | XPathExpressionException e) { } catch (IOException | XPathExpressionException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -80,7 +80,7 @@ public class WSFile {
.getBytes(); .getBytes();
return this; return this;
} catch (IOException | XPathExpressionException e) { } catch (IOException | XPathExpressionException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -144,7 +144,7 @@ public class WSLoginResult {
return this; return this;
} catch (IOException | XPathExpressionException e) { } catch (IOException | XPathExpressionException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -59,7 +59,7 @@ public class WSNumberOfSegments {
setNumberOfSegments(Integer.parseInt(value)); setNumberOfSegments(Integer.parseInt(value));
return this; return this;
} catch (IOException | XPathExpressionException | NumberFormatException e) { } catch (IOException | XPathExpressionException | NumberFormatException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -254,7 +254,7 @@ public class WSProjectInfo {
return this; return this;
} catch (IOException | XPathExpressionException | NumberFormatException e) { } catch (IOException | XPathExpressionException | NumberFormatException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }

View File

@ -59,7 +59,7 @@ public class WSSegmentationSize {
setSegmentationSize(Integer.parseInt(value)); setSegmentationSize(Integer.parseInt(value));
return this; return this;
} catch (IOException | XPathExpressionException | NumberFormatException e) { } catch (IOException | XPathExpressionException | NumberFormatException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -325,7 +325,7 @@ public class WSSystemInfo {
return this; return this;
} catch (IOException | XPathExpressionException | NumberFormatException | DateTimeParseException e) { } catch (IOException | XPathExpressionException | NumberFormatException | DateTimeParseException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }

View File

@ -143,7 +143,7 @@ public class WSTimeManagerSettings {
return this; return this;
} catch (IOException | XPathExpressionException | NumberFormatException e) { } catch (IOException | XPathExpressionException | NumberFormatException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }

View File

@ -120,7 +120,7 @@ public abstract class IhcHttpsClient {
return resp; return resp;
} catch (Exception e) { } catch (Exception e) {
if (logger.isTraceEnabled()) { if (logger.isTraceEnabled()) {
logger.trace("Exception occured (connectionPool={}, clientId={} requestId={}, in {}): {}", logger.trace("Exception occurred (connectionPool={}, clientId={} requestId={}, in {}): {}",
ihcConnectionPool.hashCode(), client.hashCode(), requestId, ihcConnectionPool.hashCode(), client.hashCode(), requestId,
Duration.between(start, LocalDateTime.now()), e.getMessage()); Duration.between(start, LocalDateTime.now()), e.getMessage());
} }

View File

@ -96,7 +96,7 @@ public class ProjectFileUtils {
DocumentBuilder builder = factory.newDocumentBuilder(); DocumentBuilder builder = factory.newDocumentBuilder();
return builder.parse(new ByteArrayInputStream(data)); return builder.parse(new ByteArrayInputStream(data));
} catch (ParserConfigurationException | SAXException | IOException e) { } catch (ParserConfigurationException | SAXException | IOException e) {
LOGGER.warn("Error occured when trying to convert data to XML, reason {}", e.getMessage()); LOGGER.warn("Error occurred when trying to convert data to XML, reason {}", e.getMessage());
} }
return null; return null;
} }
@ -134,7 +134,7 @@ public class ProjectFileUtils {
} }
} }
} catch (RuntimeException e) { } catch (RuntimeException e) {
LOGGER.debug("Error occured during project file date comparasion, reason {}.", e.getMessage(), e); LOGGER.debug("Error occurred during project file date comparasion, reason {}.", e.getMessage(), e);
// There is no documentation available for XML content. This is part of inessential feature, so do // There is no documentation available for XML content. This is part of inessential feature, so do
// nothing, but return false // nothing, but return false
} }

View File

@ -67,7 +67,7 @@ public class IhcAirlinkManagementService extends IhcBaseService {
} }
return resourceValueList; return resourceValueList;
} catch (IOException | XPathExpressionException | NumberFormatException e) { } catch (IOException | XPathExpressionException | NumberFormatException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }

View File

@ -84,7 +84,7 @@ public class IhcResourceInteractionService extends IhcBaseService {
throw new IhcExecption("No resource value found"); throw new IhcExecption("No resource value found");
} }
} catch (XPathExpressionException | NumberFormatException | IOException e) { } catch (XPathExpressionException | NumberFormatException | IOException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
@ -484,7 +484,7 @@ public class IhcResourceInteractionService extends IhcBaseService {
} }
return resourceValueList; return resourceValueList;
} catch (XPathExpressionException | NumberFormatException | IOException e) { } catch (XPathExpressionException | NumberFormatException | IOException e) {
throw new IhcExecption("Error occured during XML data parsing", e); throw new IhcExecption("Error occurred during XML data parsing", e);
} }
} }
} }

View File

@ -114,7 +114,7 @@ public class IpCameraGroupHandler extends BaseThingHandler {
String file = handle.cameraConfig.getFfmpegOutput() + "ipcamera.m3u8"; String file = handle.cameraConfig.getFfmpegOutput() + "ipcamera.m3u8";
camerasm3u8 = new String(Files.readAllBytes(Paths.get(file))); camerasm3u8 = new String(Files.readAllBytes(Paths.get(file)));
} catch (IOException e) { } catch (IOException e) {
logger.warn("Error occured fetching a groupDisplay cameras m3u8 file :{}", e.getMessage()); logger.warn("Error occurred fetching a groupDisplay cameras m3u8 file :{}", e.getMessage());
} }
return camerasm3u8; return camerasm3u8;
} }

View File

@ -306,10 +306,10 @@ public class OnvifConnection {
} }
} catch (IndexOutOfBoundsException e) { } catch (IndexOutOfBoundsException e) {
if (!isConnected) { if (!isConnected) {
logger.debug("IndexOutOfBoundsException occured, camera is not connected via ONVIF: {}", logger.debug("IndexOutOfBoundsException occurred, camera is not connected via ONVIF: {}",
e.getMessage()); e.getMessage());
} else { } else {
logger.debug("IndexOutOfBoundsException occured, {}", e.getMessage()); logger.debug("IndexOutOfBoundsException occurred, {}", e.getMessage());
} }
} }
return "notfound"; return "notfound";

View File

@ -153,7 +153,7 @@ public class RtspConnection {
if (future.isDone() && future.isSuccess()) { if (future.isDone() && future.isSuccess()) {
Channel ch = future.channel(); Channel ch = future.channel();
ch.writeAndFlush(request); ch.writeAndFlush(request);
} else { // an error occured } else { // an error occurred
logger.debug("Could not reach cameras rtsp on port 554."); logger.debug("Could not reach cameras rtsp on port 554.");
} }
} }

View File

@ -85,7 +85,7 @@ public class BlasterHandler extends BaseThingHandler implements TransceiverStatu
if (ircommand.matches(thingCompatibleCommand)) { if (ircommand.matches(thingCompatibleCommand)) {
if (!ethernetBridge.sendIRcommand(ircommand, Led.get((String) getConfig().get(LED)))) { if (!ethernetBridge.sendIRcommand(ircommand, Led.get((String) getConfig().get(LED)))) {
logger.warn("An error occured whilst sending the infrared command '{}' for Channel '{}'", logger.warn("An error occurred whilst sending the infrared command '{}' for Channel '{}'",
ircommand, channelUID); ircommand, channelUID);
} }
} }

View File

@ -296,7 +296,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
channelUID); channelUID);
} else { } else {
logger.warn( logger.warn(
"An error occured whilst sending the infrared command '{}' for Channel '{}'", "An error occurred whilst sending the infrared command '{}' for Channel '{}'",
command, channelUID); command, channelUID);
} }
} }
@ -687,7 +687,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
} }
} catch (IOException e) { } catch (IOException e) {
// If some other I/O error occurs // If some other I/O error occurs
logger.warn("An IO exception occured on channel '{}': {}", aSocketChannel, e.getMessage()); logger.warn("An IO exception occurred on channel '{}': {}", aSocketChannel, e.getMessage());
error = true; error = true;
} }
@ -754,7 +754,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
error = true; error = true;
} catch (IOException e) { } catch (IOException e) {
// If some other I/O error occurs // If some other I/O error occurs
logger.warn("An IO exception occured on channel '{}': {}", aSocketChannel, e.getMessage()); logger.warn("An IO exception occurred on channel '{}': {}", aSocketChannel, e.getMessage());
error = true; error = true;
} }

View File

@ -169,7 +169,7 @@ public class KodiClientSocket {
@OnWebSocketError @OnWebSocketError
public void onError(Throwable error) { public void onError(Throwable error) {
logger.trace("Error occured: {}", error.getMessage()); logger.trace("Error occurred: {}", error.getMessage());
onClose(0, error.getMessage()); onClose(0, error.getMessage());
} }
} }

View File

@ -232,7 +232,7 @@ public class LgTvSerialHandler extends BaseThingHandler {
try { try {
entry.getValue().execute(entry.getKey(), communicator, null); entry.getValue().execute(entry.getKey(), communicator, null);
} catch (IOException e) { } catch (IOException e) {
logger.warn("An error occured while sending an update command for {}: {}", entry.getKey(), logger.warn("An error occurred while sending an update command for {}: {}", entry.getKey(),
e.getMessage()); e.getMessage());
} }
} }

View File

@ -136,12 +136,12 @@ public class LGSerialCommunicator {
try { try {
input.close(); input.close();
} catch (IOException e) { } catch (IOException e) {
logger.debug("An error occured while closing the serial input stream", e); logger.debug("An error occurred while closing the serial input stream", e);
} }
try { try {
output.close(); output.close();
} catch (IOException e) { } catch (IOException e) {
logger.debug("An error occured while closing the serial output stream", e); logger.debug("An error occurred while closing the serial output stream", e);
} }
port.close(); port.close();
// For some reason, there needs some delay after close so we don't fail to open back the serial device // For some reason, there needs some delay after close so we don't fail to open back the serial device

View File

@ -166,7 +166,7 @@ public class LIRCConnector {
public synchronized void sendErrorToListeners(String error) { public synchronized void sendErrorToListeners(String error) {
try { try {
for (LIRCEventListener listener : listeners) { for (LIRCEventListener listener : listeners) {
listener.errorOccured(error); listener.errorOccurred(error);
} }
} catch (Exception e) { } catch (Exception e) {
logger.error("Error invoking event listener", e); logger.error("Error invoking event listener", e);

View File

@ -42,7 +42,7 @@ public interface LIRCEventListener {
* Procedure for receiving information about fatal errors. * Procedure for receiving information about fatal errors.
* *
* @param error * @param error
* Error occured. * Error occurred.
*/ */
void errorOccured(String error); void errorOccurred(String error);
} }

View File

@ -191,8 +191,8 @@ public class LIRCBridgeHandler extends BaseBridgeHandler {
} }
@Override @Override
public void errorOccured(String error) { public void errorOccurred(String error) {
logger.error("Error occured: {}", error); logger.error("Error occurred: {}", error);
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, error); updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, error);
} }
} }

View File

@ -650,6 +650,6 @@ public class LxWebSocket {
*/ */
private void responseTimeout() { private void responseTimeout() {
logger.debug("[{}] Miniserver response timeout", debugId); logger.debug("[{}] Miniserver response timeout", debugId);
disconnect(LxErrorCode.COMMUNICATION_ERROR, "Miniserver response timeout occured"); disconnect(LxErrorCode.COMMUNICATION_ERROR, "Miniserver response timeout occurred");
} }
} }

View File

@ -289,7 +289,7 @@ public class MagentaTVControl {
* complete the pairing process. You should see a message like "Connected to * complete the pairing process. You should see a message like "Connected to
* openHAB" on your TV screen. * openHAB" on your TV screen.
* *
* @return true: successful, false: a non-critical error occured, caller handles * @return true: successful, false: a non-critical error occurred, caller handles
* this * this
* @throws MagentaTVException * @throws MagentaTVException
*/ */

View File

@ -107,9 +107,9 @@ public final class OpenHabOAuthTokenRefresher implements OAuthTokenRefresher {
throw new OAuthException("Access token is not available."); throw new OAuthException("Access token is not available.");
} }
} catch (org.openhab.core.auth.client.oauth2.OAuthException e) { } catch (org.openhab.core.auth.client.oauth2.OAuthException e) {
throw new OAuthException("An error occured during token refresh: " + e.getMessage(), e); throw new OAuthException("An error occurred during token refresh: " + e.getMessage(), e);
} catch (IOException e) { } catch (IOException e) {
throw new OAuthException("A network error occured during token refresh: " + e.getMessage(), e); throw new OAuthException("A network error occurred during token refresh: " + e.getMessage(), e);
} catch (OAuthResponseException e) { } catch (OAuthResponseException e) {
throw new OAuthException("Miele cloud service returned an illegal response: " + e.getMessage(), e); throw new OAuthException("Miele cloud service returned an illegal response: " + e.getMessage(), e);
} }

View File

@ -144,7 +144,7 @@ public class MiIoLumiHandler extends MiIoBasicHandler {
logger.debug("Refresh custom commands for child device {}", getThing().getLabel()); logger.debug("Refresh custom commands for child device {}", getThing().getLabel());
refreshCustomProperties(midevice, false); refreshCustomProperties(midevice, false);
} else { } else {
logger.debug("Null value occured for device {}: {}", midevice, config); logger.debug("Null value occurred for device {}: {}", midevice, config);
} }
} catch (Exception e) { } catch (Exception e) {
logger.debug("Error while performing periodic refresh for '{}': {}", getThing().getUID(), e.getMessage()); logger.debug("Error while performing periodic refresh for '{}': {}", getThing().getUID(), e.getMessage());

View File

@ -601,7 +601,7 @@ public class MilightV6SessionManager implements Runnable, Closeable {
// 76 07 5B CD 15 // 76 07 5B CD 15
// ASCII string contained: 985b157bf6fc43368a63467ea3b19d0dc .. xlink_dev // ASCII string contained: 985b157bf6fc43368a63467ea3b19d0dc .. xlink_dev
// Response to the v6 SEARCH and the SEARCH FOR commands to look for new or known devices. // Response to the v6 SEARCH and the SEARCH FOR commands to look for new or known devices.
// Our session id will be transfered in this process (!= bridge session id) // Our session id will be transferred in this process (!= bridge session id)
case (byte) 0x18: { case (byte) 0x18: {
boolean eq = ByteBuffer.wrap(bridgeMAC, 0, 6).equals(ByteBuffer.wrap(buffer, 6, 6)); boolean eq = ByteBuffer.wrap(bridgeMAC, 0, 6).equals(ByteBuffer.wrap(buffer, 6, 6));
if (eq) { if (eq) {

View File

@ -72,7 +72,7 @@ public enum NibeHeatPumpProtocolStates implements NibeHeatPumpProtocolState {
break; break;
} }
} catch (NibeHeatPumpException e) { } catch (NibeHeatPumpException e) {
LOGGER.trace("Error occured during parsing message: {}", e.getMessage()); LOGGER.trace("Error occurred during parsing message: {}", e.getMessage());
context.state(CHECKSUM_FAILURE); context.state(CHECKSUM_FAILURE);
} }
} }

View File

@ -24,7 +24,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
class NhcNotification2 { class NhcNotification2 {
String status = ""; String status = "";
String type = ""; String type = "";
String timeOccured = ""; String timeOccurred = "";
String uuid = ""; String uuid = "";
String text = ""; String text = "";
} }

View File

@ -415,7 +415,7 @@ public class OwserverConnection {
} }
/** /**
* close the connection to the owserver instance after an error occured. * close the connection to the owserver instance after an error occurred.
* if {@link #CONNECTION_MAX_RETRY} is exceeded, {@link #owserverConnectionState} is set to FAILED * if {@link #CONNECTION_MAX_RETRY} is exceeded, {@link #owserverConnectionState} is set to FAILED
* and state is reported to callback. * and state is reported to callback.
*/ */

View File

@ -551,7 +551,7 @@ public class OnkyoHandler extends OnkyoUpnpHandler implements OnkyoEventListener
populateInputs(selectableInputs); populateInputs(selectableInputs);
} }
} catch (ParserConfigurationException | SAXException | IOException e) { } catch (ParserConfigurationException | SAXException | IOException e) {
logger.debug("Error occured during Info XML parsing.", e); logger.debug("Error occurred during Info XML parsing.", e);
} }
} }

View File

@ -247,12 +247,12 @@ public class PlugwiseHAControllerRequest<T> {
try { try {
response = request.send(); response = request.send();
} catch (InterruptedException e) { } catch (InterruptedException e) {
this.logger.trace("InterruptedException occured {} {}", e.getMessage(), e.getStackTrace()); this.logger.trace("InterruptedException occurred {} {}", e.getMessage(), e.getStackTrace());
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();
throw new PlugwiseHATimeoutException(e); throw new PlugwiseHATimeoutException(e);
} catch (TimeoutException e) { } catch (TimeoutException e) {
if (retries > 0) { if (retries > 0) {
this.logger.debug("TimeoutException occured, remaining retries {}", retries - 1); this.logger.debug("TimeoutException occurred, remaining retries {}", retries - 1);
try { try {
Thread.sleep(RETRY_DELAY_TIMOUT); Thread.sleep(RETRY_DELAY_TIMOUT);
} catch (InterruptedException ie) { } catch (InterruptedException ie) {

View File

@ -141,7 +141,7 @@ channel-type.regoheatpump.lastErrorTimestamp.label = Last Error Date
channel-type.regoheatpump.lastErrorTimestamp.description = Information about when last alarm occurred channel-type.regoheatpump.lastErrorTimestamp.description = Information about when last alarm occurred
channel-type.regoheatpump.lastErrorTimestamp.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS channel-type.regoheatpump.lastErrorTimestamp.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS
channel-type.regoheatpump.lastErrorType.label = Last Error Type channel-type.regoheatpump.lastErrorType.label = Last Error Type
channel-type.regoheatpump.lastErrorType.description = Information about the alarm type that occured last channel-type.regoheatpump.lastErrorType.description = Information about the alarm type that occurred last
channel-type.regoheatpump.lastErrorType.state.option.0 = Sensor radiator return (GT1) channel-type.regoheatpump.lastErrorType.state.option.0 = Sensor radiator return (GT1)
channel-type.regoheatpump.lastErrorType.state.option.1 = Outdoor sensor (GT2) channel-type.regoheatpump.lastErrorType.state.option.1 = Outdoor sensor (GT2)
channel-type.regoheatpump.lastErrorType.state.option.2 = Sensor hot water (GT3) channel-type.regoheatpump.lastErrorType.state.option.2 = Sensor hot water (GT3)

View File

@ -320,7 +320,7 @@
<channel-type id="lastErrorType"> <channel-type id="lastErrorType">
<item-type>String</item-type> <item-type>String</item-type>
<label>Last Error Type</label> <label>Last Error Type</label>
<description>Information about the alarm type that occured last</description> <description>Information about the alarm type that occurred last</description>
<category>Error</category> <category>Error</category>
<state readOnly="true" pattern="%s"> <state readOnly="true" pattern="%s">
<options> <options>

View File

@ -182,7 +182,7 @@ public abstract class MeterDevice<T> {
connector.openConnection(); connector.openConnection();
}).doOnError(ex -> { }).doOnError(ex -> {
if (ex instanceof TimeoutException) { if (ex instanceof TimeoutException) {
logger.debug("Timeout occured for {}; {}", getDeviceId(), ex.getMessage()); logger.debug("Timeout occurred for {}; {}", getDeviceId(), ex.getMessage());
} else { } else {
logger.debug("Failed to read: {}. Closing connection and trying again in {} seconds...; {}", logger.debug("Failed to read: {}. Closing connection and trying again in {} seconds...; {}",
ex.getMessage(), RETRY_DELAY, getDeviceId(), ex); ex.getMessage(), RETRY_DELAY, getDeviceId(), ex);

View File

@ -129,7 +129,7 @@ public class SncfBridgeHandler extends BaseBridgeHandler {
} }
logger.debug("SNCF Api server responded with status code {}: {}", httpStatus, content); logger.debug("SNCF Api server responded with status code {}: {}", httpStatus, content);
} catch (TimeoutException | ExecutionException e) { } catch (TimeoutException | ExecutionException e) {
logger.debug("Execution occured : {}", e.getMessage(), e); logger.debug("Execution occurred : {}", e.getMessage(), e);
} catch (InterruptedException e) { } catch (InterruptedException e) {
logger.debug("Execution interrupted : {}", e.getMessage(), e); logger.debug("Execution interrupted : {}", e.getMessage(), e);
Thread.currentThread().interrupt(); Thread.currentThread().interrupt();

View File

@ -277,7 +277,7 @@ public class TelegramActions implements ThingActions {
try { try {
retMessage = localHandler.execute(sendMessage); retMessage = localHandler.execute(sendMessage);
} catch (Exception e) { } catch (Exception e) {
logger.warn("Exception occured whilst sending message:{}", e.getMessage()); logger.warn("Exception occurred whilst sending message:{}", e.getMessage());
} }
if (!evaluateResponse(retMessage)) { if (!evaluateResponse(retMessage)) {
return false; return false;

View File

@ -91,7 +91,7 @@ public class WLedBridgeHandler extends BaseBridgeHandler {
localAPI.savePreset(position, presetName); localAPI.savePreset(position, presetName);
} }
} catch (ApiException e) { } catch (ApiException e) {
logger.debug("Error occured when trying to save a preset:{}", e.getMessage()); logger.debug("Error occurred when trying to save a preset:{}", e.getMessage());
} }
} }
@ -221,7 +221,7 @@ public class WLedBridgeHandler extends BaseBridgeHandler {
break; break;
} }
} catch (ApiException e) { } catch (ApiException e) {
logger.debug("Exception occured when Channel:{}, Command:{}, Error:{}", channelUID.getId(), command, logger.debug("Exception occurred when Channel:{}, Command:{}, Error:{}", channelUID.getId(), command,
e.getMessage()); e.getMessage());
} }
} }

View File

@ -236,7 +236,7 @@ public class WLedSegmentHandler extends BaseThingHandler {
break; break;
} }
} catch (ApiException e) { } catch (ApiException e) {
logger.debug("Exception occured:{}", e.getMessage()); logger.debug("Exception occurred:{}", e.getMessage());
} }
} }

View File

@ -67,7 +67,7 @@ public class SimpleNTPServer {
try { try {
socket = new DatagramSocket(port); socket = new DatagramSocket(port);
} catch (SocketException e) { } catch (SocketException e) {
logger.error("Occured an error {}. Couldn't open a socket on this port:", port, e); logger.error("Occurred an error {}. Couldn't open a socket on this port:", port, e);
} }
while (isRunning) { while (isRunning) {
try { try {