mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-04 19:34:05 +01:00
Fix typos (#18193)
* Fix typo: occured * Fix typo: transfered Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
e7d44c9632
commit
3c972b9f92
@ -302,13 +302,13 @@ public class PhilipsTVConnectionManager implements DiscoveryListener {
|
||||
initPairingCodeRetrieval(target);
|
||||
} catch (IOException | NoSuchAlgorithmException | KeyStoreException | KeyManagementException e) {
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR,
|
||||
"offline.error-occured-while-presenting-pairing-code");
|
||||
"offline.error-occurred-while-presenting-pairing-code");
|
||||
}
|
||||
} else {
|
||||
boolean hasFailed = initCredentialsRetrieval(target, command.toString());
|
||||
if (hasFailed) {
|
||||
postUpdateThing(ThingStatus.OFFLINE, ThingStatusDetail.CONFIGURATION_ERROR,
|
||||
"offline.error-occured-during-retrieval-of-credentials");
|
||||
"offline.error-occurred-during-retrieval-of-credentials");
|
||||
return;
|
||||
}
|
||||
readConfigs();
|
||||
|
@ -165,8 +165,8 @@ offline.interrupted = Interrupted
|
||||
offline.io-error = I/O Error
|
||||
offline.runtime-exception = Runtime exception
|
||||
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-occured-during-retrieval-of-credentials = Error occurred during retrieval of credentials
|
||||
offline.error-occurred-while-presenting-pairing-code = Error occurred while trying to present a Pairing Code on TV
|
||||
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.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
|
||||
|
@ -514,7 +514,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
try {
|
||||
return sendCommand(command, BlueGigaConnectDirectResponse.class, true).getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -534,7 +534,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
try {
|
||||
return sendCommand(command, BlueGigaDisconnectResponse.class, true).getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -560,7 +560,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
return sendCommand(command, BlueGigaReadByGroupTypeResponse.class, true)
|
||||
.getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -585,7 +585,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
return sendCommand(command, BlueGigaFindInformationResponse.class, true)
|
||||
.getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -604,7 +604,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
try {
|
||||
return sendCommand(command, BlueGigaReadByTypeResponse.class, true).getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -628,7 +628,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
try {
|
||||
return sendCommand(command, BlueGigaReadByHandleResponse.class, true).getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -655,7 +655,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
return sendCommand(command, BlueGigaAttributeWriteResponse.class, true)
|
||||
.getResult() == BgApiResponse.SUCCESS;
|
||||
} 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());
|
||||
return false;
|
||||
}
|
||||
@ -669,7 +669,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
return sendCommandWithoutChecks(new BlueGigaEndProcedureCommand(), BlueGigaEndProcedureResponse.class)
|
||||
.getResult() == BgApiResponse.SUCCESS;
|
||||
} catch (BlueGigaException e) {
|
||||
logger.debug("Error occured when sending end procedure command.");
|
||||
logger.debug("Error occurred when sending end procedure command.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@ -685,7 +685,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
return sendCommandWithoutChecks(command, BlueGigaSetModeResponse.class)
|
||||
.getResult() == BgApiResponse.SUCCESS;
|
||||
} 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;
|
||||
}
|
||||
}
|
||||
@ -715,7 +715,7 @@ public class BlueGigaBridgeHandler extends AbstractBluetoothBridgeHandler<BlueGi
|
||||
}
|
||||
}
|
||||
} 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.");
|
||||
return false;
|
||||
|
@ -178,7 +178,7 @@ public class BlueZBluetoothDevice extends BaseBluetoothDevice implements BlueZEv
|
||||
// Catch "software caused connection abort"
|
||||
return false;
|
||||
} catch (Exception e) {
|
||||
logger.warn("error occured while trying to connect", e);
|
||||
logger.warn("error occurred while trying to connect", e);
|
||||
}
|
||||
} else {
|
||||
logger.debug("Device was already connected");
|
||||
|
@ -53,7 +53,7 @@ public class EnoceanBleRockerHandler extends BeaconBluetoothHandler {
|
||||
}
|
||||
}
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -283,7 +283,7 @@ public class BluetoothDiscoveryService extends AbstractDiscoveryService implemen
|
||||
return result;
|
||||
}).whenComplete((r, t) -> {
|
||||
if (t != null) {
|
||||
logger.warn("Error occured during discovery of {}", device.getAddress(), t);
|
||||
logger.warn("Error occurred during discovery of {}", device.getAddress(), t);
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -31,7 +31,7 @@ public interface ConnectionListener {
|
||||
*/
|
||||
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";
|
||||
/**
|
||||
|
@ -497,7 +497,7 @@ public class EnOceanBridgeHandler extends ConfigStatusBridgeHandler implements T
|
||||
}
|
||||
|
||||
@Override
|
||||
public void errorOccured(Throwable exception) {
|
||||
public void errorOccurred(Throwable exception) {
|
||||
EnOceanTransceiver localTransceiver = transceiver;
|
||||
if (localTransceiver != null) {
|
||||
localTransceiver.shutDown();
|
||||
|
@ -162,7 +162,7 @@ public class EnOceanESP2Transceiver extends EnOceanTransceiver {
|
||||
logger.trace("Unable to process message", ioexception);
|
||||
TransceiverErrorListener localListener = errorListener;
|
||||
if (localListener != null) {
|
||||
localListener.errorOccured(ioexception);
|
||||
localListener.errorOccurred(ioexception);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -193,7 +193,7 @@ public class EnOceanESP3Transceiver extends EnOceanTransceiver {
|
||||
logger.trace("Unable to process message", ioexception);
|
||||
TransceiverErrorListener localListener = errorListener;
|
||||
if (localListener != null) {
|
||||
localListener.errorOccured(ioexception);
|
||||
localListener.errorOccurred(ioexception);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
|
||||
logger.trace("Unable to process message", e);
|
||||
TransceiverErrorListener localListener = errorListener;
|
||||
if (localListener != null) {
|
||||
localListener.errorOccured(e);
|
||||
localListener.errorOccurred(e);
|
||||
}
|
||||
return;
|
||||
}
|
||||
@ -253,7 +253,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
|
||||
try {
|
||||
localInputStream.close();
|
||||
} catch (IOException e) {
|
||||
logger.debug("IOException occured while closing the stream", e);
|
||||
logger.debug("IOException occurred while closing the stream", e);
|
||||
}
|
||||
}
|
||||
this.readingTask = null;
|
||||
@ -269,7 +269,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
|
||||
try {
|
||||
localOutputStream.close();
|
||||
} 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 {
|
||||
localInputStream.close();
|
||||
} 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 {
|
||||
return localInputStream.read(buffer, 0, length);
|
||||
} 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;
|
||||
}
|
||||
} else {
|
||||
@ -327,7 +327,7 @@ public abstract class EnOceanTransceiver implements SerialPortEventListener {
|
||||
}
|
||||
TransceiverErrorListener localListener = errorListener;
|
||||
if (localListener != null) {
|
||||
localListener.errorOccured(new IOException("Cannot read from null stream"));
|
||||
localListener.errorOccurred(new IOException("Cannot read from null stream"));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -21,5 +21,5 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
@NonNullByDefault
|
||||
public interface TransceiverErrorListener {
|
||||
|
||||
void errorOccured(Throwable exception);
|
||||
void errorOccurred(Throwable exception);
|
||||
}
|
||||
|
@ -77,7 +77,7 @@ public class FlicSimpleclientDiscoveryServiceImpl extends AbstractDiscoveryServi
|
||||
discoverVerifiedButtons();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.warn("Error occured during button discovery", e);
|
||||
logger.warn("Error occurred during button discovery", e);
|
||||
if (this.scanListener != null) {
|
||||
scanListener.onErrorOccurred(e);
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class FlicDaemonBridgeHandler extends BaseBridgeHandler {
|
||||
flicClient.close();
|
||||
logger.debug("Listening to flicd ended");
|
||||
} catch (IOException e) {
|
||||
logger.debug("Error occured while listening to flicd", e);
|
||||
logger.debug("Error occurred while listening to flicd", e);
|
||||
} finally {
|
||||
if (Thread.currentThread().isInterrupted()) {
|
||||
onClientFailure();
|
||||
|
@ -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.description = Actual measured temperature of the sensor
|
||||
channel-type.freeboxos.timestamp.label = Timestamp
|
||||
channel-type.freeboxos.transfer-bytes.label = Transfered Bytes
|
||||
channel-type.freeboxos.transfer-bytes.description = Total data transfered since last connection
|
||||
channel-type.freeboxos.transfer-bytes.label = Transferred Bytes
|
||||
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.description = Current transfer rate
|
||||
channel-type.freeboxos.transfer-rate.label = Transfer Rate
|
||||
|
@ -126,8 +126,8 @@
|
||||
|
||||
<channel-type id="transfer-bytes" advanced="true">
|
||||
<item-type unitHint="GB">Number:DataAmount</item-type>
|
||||
<label>Transfered Bytes</label>
|
||||
<description>Total data transfered since last connection</description>
|
||||
<label>Transferred Bytes</label>
|
||||
<description>Total data transferred since last connection</description>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
|
@ -184,7 +184,7 @@ public class SimpleFtpFile implements FtpFile {
|
||||
logger.debug("File len: {}", d.length);
|
||||
return d;
|
||||
} catch (IllegalArgumentException e) {
|
||||
logger.debug("Exception occured during data conversion: {}", e.getMessage());
|
||||
logger.debug("Exception occurred during data conversion: {}", e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
@ -268,7 +268,7 @@ public class ICalendarHandler extends BaseBridgeHandler implements CalendarUpdat
|
||||
} catch (IllegalArgumentException | IllegalStateException e) {
|
||||
logger.warn("Event: {}, Command Tag: {} => Unable to push command to target item!", event.title,
|
||||
cmdTag.getFullTag());
|
||||
logger.debug("Exception occured while pushing to item!", e);
|
||||
logger.debug("Exception occurred while pushing to item!", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ public class ICloudAccountBridgeHandler extends BaseBridgeHandler {
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
|
||||
return null;
|
||||
} catch (Exception e) {
|
||||
logger.debug("Unexpected exception occured", e);
|
||||
logger.debug("Unexpected exception occurred", e);
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, e.getMessage());
|
||||
return null;
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ public class ChannelUtils {
|
||||
}
|
||||
}
|
||||
} 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 {
|
||||
@ -122,7 +122,7 @@ public class ChannelUtils {
|
||||
}
|
||||
}
|
||||
} 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 {
|
||||
LOGGER.warn("Project file data doesn't exist, can't automatically create channels!");
|
||||
|
@ -572,7 +572,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
|
||||
try {
|
||||
projectFile = ProjectFileUtils.readFromFile(filePath);
|
||||
} 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);
|
||||
loadProject = true;
|
||||
}
|
||||
@ -591,7 +591,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
|
||||
try {
|
||||
ProjectFileUtils.saveToFile(filePath, data);
|
||||
} 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);
|
||||
}
|
||||
projectFile = ProjectFileUtils.converteBytesToDocument(data);
|
||||
@ -671,7 +671,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void errorOccured(IhcExecption e) {
|
||||
public void errorOccurred(IhcExecption e) {
|
||||
logger.warn("Error occurred on communication to IHC controller: {}", e.getMessage(), e);
|
||||
logger.debug("Reconnection request");
|
||||
setReconnectRequest(true);
|
||||
@ -724,7 +724,7 @@ public class IhcHandler extends BaseThingHandler implements IhcEventListener {
|
||||
} catch (ConversionException e) {
|
||||
logger.warn("Channel param error, reason: {}.", e.getMessage(), 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) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
@ -566,7 +566,7 @@ public class IhcClient {
|
||||
private void sendErrorEvent(IhcExecption err) {
|
||||
eventListeners.forEach(listener -> {
|
||||
try {
|
||||
listener.errorOccured(err);
|
||||
listener.errorOccurred(err);
|
||||
} catch (RuntimeException e) {
|
||||
logger.debug("Event listener invoking error.", e);
|
||||
}
|
||||
|
@ -42,5 +42,5 @@ public interface IhcEventListener {
|
||||
*
|
||||
* @param e IhcException occurred.
|
||||
*/
|
||||
void errorOccured(IhcExecption e);
|
||||
void errorOccurred(IhcExecption e);
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ public class WSControllerState {
|
||||
}
|
||||
return this;
|
||||
} catch (IOException | XPathExpressionException e) {
|
||||
throw new IhcExecption("Error occured during XML data parsing", e);
|
||||
throw new IhcExecption("Error occurred during XML data parsing", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ public class WSFile {
|
||||
.getBytes();
|
||||
return this;
|
||||
} catch (IOException | XPathExpressionException e) {
|
||||
throw new IhcExecption("Error occured during XML data parsing", e);
|
||||
throw new IhcExecption("Error occurred during XML data parsing", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ public class WSLoginResult {
|
||||
|
||||
return this;
|
||||
} catch (IOException | XPathExpressionException e) {
|
||||
throw new IhcExecption("Error occured during XML data parsing", e);
|
||||
throw new IhcExecption("Error occurred during XML data parsing", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ public class WSNumberOfSegments {
|
||||
setNumberOfSegments(Integer.parseInt(value));
|
||||
return this;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -254,7 +254,7 @@ public class WSProjectInfo {
|
||||
|
||||
return this;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -59,7 +59,7 @@ public class WSSegmentationSize {
|
||||
setSegmentationSize(Integer.parseInt(value));
|
||||
return this;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -325,7 +325,7 @@ public class WSSystemInfo {
|
||||
|
||||
return this;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -143,7 +143,7 @@ public class WSTimeManagerSettings {
|
||||
|
||||
return this;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ public abstract class IhcHttpsClient {
|
||||
return resp;
|
||||
} catch (Exception e) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
logger.trace("Exception occured (connectionPool={}, clientId={} requestId={}, in {}): {}",
|
||||
logger.trace("Exception occurred (connectionPool={}, clientId={} requestId={}, in {}): {}",
|
||||
ihcConnectionPool.hashCode(), client.hashCode(), requestId,
|
||||
Duration.between(start, LocalDateTime.now()), e.getMessage());
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ public class ProjectFileUtils {
|
||||
DocumentBuilder builder = factory.newDocumentBuilder();
|
||||
return builder.parse(new ByteArrayInputStream(data));
|
||||
} 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;
|
||||
}
|
||||
@ -134,7 +134,7 @@ public class ProjectFileUtils {
|
||||
}
|
||||
}
|
||||
} 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
|
||||
// nothing, but return false
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public class IhcAirlinkManagementService extends IhcBaseService {
|
||||
}
|
||||
return resourceValueList;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@ public class IhcResourceInteractionService extends IhcBaseService {
|
||||
throw new IhcExecption("No resource value found");
|
||||
}
|
||||
} 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;
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -114,7 +114,7 @@ public class IpCameraGroupHandler extends BaseThingHandler {
|
||||
String file = handle.cameraConfig.getFfmpegOutput() + "ipcamera.m3u8";
|
||||
camerasm3u8 = new String(Files.readAllBytes(Paths.get(file)));
|
||||
} 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;
|
||||
}
|
||||
|
@ -306,10 +306,10 @@ public class OnvifConnection {
|
||||
}
|
||||
} catch (IndexOutOfBoundsException e) {
|
||||
if (!isConnected) {
|
||||
logger.debug("IndexOutOfBoundsException occured, camera is not connected via ONVIF: {}",
|
||||
logger.debug("IndexOutOfBoundsException occurred, camera is not connected via ONVIF: {}",
|
||||
e.getMessage());
|
||||
} else {
|
||||
logger.debug("IndexOutOfBoundsException occured, {}", e.getMessage());
|
||||
logger.debug("IndexOutOfBoundsException occurred, {}", e.getMessage());
|
||||
}
|
||||
}
|
||||
return "notfound";
|
||||
|
@ -153,7 +153,7 @@ public class RtspConnection {
|
||||
if (future.isDone() && future.isSuccess()) {
|
||||
Channel ch = future.channel();
|
||||
ch.writeAndFlush(request);
|
||||
} else { // an error occured
|
||||
} else { // an error occurred
|
||||
logger.debug("Could not reach cameras rtsp on port 554.");
|
||||
}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ public class BlasterHandler extends BaseThingHandler implements TransceiverStatu
|
||||
|
||||
if (ircommand.matches(thingCompatibleCommand)) {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +296,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
|
||||
channelUID);
|
||||
} else {
|
||||
logger.warn(
|
||||
"An error occured whilst sending the infrared command '{}' for Channel '{}'",
|
||||
"An error occurred whilst sending the infrared command '{}' for Channel '{}'",
|
||||
command, channelUID);
|
||||
}
|
||||
}
|
||||
@ -687,7 +687,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
|
||||
}
|
||||
} catch (IOException e) {
|
||||
// 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;
|
||||
}
|
||||
|
||||
@ -754,7 +754,7 @@ public class EthernetBridgeHandler extends BaseBridgeHandler implements Transcei
|
||||
error = true;
|
||||
} catch (IOException e) {
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
@ -169,7 +169,7 @@ public class KodiClientSocket {
|
||||
|
||||
@OnWebSocketError
|
||||
public void onError(Throwable error) {
|
||||
logger.trace("Error occured: {}", error.getMessage());
|
||||
logger.trace("Error occurred: {}", error.getMessage());
|
||||
onClose(0, error.getMessage());
|
||||
}
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ public class LgTvSerialHandler extends BaseThingHandler {
|
||||
try {
|
||||
entry.getValue().execute(entry.getKey(), communicator, null);
|
||||
} 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());
|
||||
}
|
||||
}
|
||||
|
@ -136,12 +136,12 @@ public class LGSerialCommunicator {
|
||||
try {
|
||||
input.close();
|
||||
} 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 {
|
||||
output.close();
|
||||
} 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();
|
||||
// For some reason, there needs some delay after close so we don't fail to open back the serial device
|
||||
|
@ -166,7 +166,7 @@ public class LIRCConnector {
|
||||
public synchronized void sendErrorToListeners(String error) {
|
||||
try {
|
||||
for (LIRCEventListener listener : listeners) {
|
||||
listener.errorOccured(error);
|
||||
listener.errorOccurred(error);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.error("Error invoking event listener", e);
|
||||
|
@ -42,7 +42,7 @@ public interface LIRCEventListener {
|
||||
* Procedure for receiving information about fatal errors.
|
||||
*
|
||||
* @param error
|
||||
* Error occured.
|
||||
* Error occurred.
|
||||
*/
|
||||
void errorOccured(String error);
|
||||
void errorOccurred(String error);
|
||||
}
|
||||
|
@ -191,8 +191,8 @@ public class LIRCBridgeHandler extends BaseBridgeHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void errorOccured(String error) {
|
||||
logger.error("Error occured: {}", error);
|
||||
public void errorOccurred(String error) {
|
||||
logger.error("Error occurred: {}", error);
|
||||
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR, error);
|
||||
}
|
||||
}
|
||||
|
@ -650,6 +650,6 @@ public class LxWebSocket {
|
||||
*/
|
||||
private void responseTimeout() {
|
||||
logger.debug("[{}] Miniserver response timeout", debugId);
|
||||
disconnect(LxErrorCode.COMMUNICATION_ERROR, "Miniserver response timeout occured");
|
||||
disconnect(LxErrorCode.COMMUNICATION_ERROR, "Miniserver response timeout occurred");
|
||||
}
|
||||
}
|
||||
|
@ -289,7 +289,7 @@ public class MagentaTVControl {
|
||||
* complete the pairing process. You should see a message like "Connected to
|
||||
* 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
|
||||
* @throws MagentaTVException
|
||||
*/
|
||||
|
@ -107,9 +107,9 @@ public final class OpenHabOAuthTokenRefresher implements OAuthTokenRefresher {
|
||||
throw new OAuthException("Access token is not available.");
|
||||
}
|
||||
} 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) {
|
||||
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) {
|
||||
throw new OAuthException("Miele cloud service returned an illegal response: " + e.getMessage(), e);
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ public class MiIoLumiHandler extends MiIoBasicHandler {
|
||||
logger.debug("Refresh custom commands for child device {}", getThing().getLabel());
|
||||
refreshCustomProperties(midevice, false);
|
||||
} else {
|
||||
logger.debug("Null value occured for device {}: {}", midevice, config);
|
||||
logger.debug("Null value occurred for device {}: {}", midevice, config);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.debug("Error while performing periodic refresh for '{}': {}", getThing().getUID(), e.getMessage());
|
||||
|
@ -601,7 +601,7 @@ public class MilightV6SessionManager implements Runnable, Closeable {
|
||||
// 76 07 5B CD 15
|
||||
// ASCII string contained: 985b157bf6fc43368a63467ea3b19d0dc .. xlink_dev
|
||||
// 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: {
|
||||
boolean eq = ByteBuffer.wrap(bridgeMAC, 0, 6).equals(ByteBuffer.wrap(buffer, 6, 6));
|
||||
if (eq) {
|
||||
|
@ -72,7 +72,7 @@ public enum NibeHeatPumpProtocolStates implements NibeHeatPumpProtocolState {
|
||||
break;
|
||||
}
|
||||
} 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);
|
||||
}
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
class NhcNotification2 {
|
||||
String status = "";
|
||||
String type = "";
|
||||
String timeOccured = "";
|
||||
String timeOccurred = "";
|
||||
String uuid = "";
|
||||
String text = "";
|
||||
}
|
||||
|
@ -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
|
||||
* and state is reported to callback.
|
||||
*/
|
||||
|
@ -551,7 +551,7 @@ public class OnkyoHandler extends OnkyoUpnpHandler implements OnkyoEventListener
|
||||
populateInputs(selectableInputs);
|
||||
}
|
||||
} catch (ParserConfigurationException | SAXException | IOException e) {
|
||||
logger.debug("Error occured during Info XML parsing.", e);
|
||||
logger.debug("Error occurred during Info XML parsing.", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -247,12 +247,12 @@ public class PlugwiseHAControllerRequest<T> {
|
||||
try {
|
||||
response = request.send();
|
||||
} catch (InterruptedException e) {
|
||||
this.logger.trace("InterruptedException occured {} {}", e.getMessage(), e.getStackTrace());
|
||||
this.logger.trace("InterruptedException occurred {} {}", e.getMessage(), e.getStackTrace());
|
||||
Thread.currentThread().interrupt();
|
||||
throw new PlugwiseHATimeoutException(e);
|
||||
} catch (TimeoutException e) {
|
||||
if (retries > 0) {
|
||||
this.logger.debug("TimeoutException occured, remaining retries {}", retries - 1);
|
||||
this.logger.debug("TimeoutException occurred, remaining retries {}", retries - 1);
|
||||
try {
|
||||
Thread.sleep(RETRY_DELAY_TIMOUT);
|
||||
} catch (InterruptedException ie) {
|
||||
|
@ -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.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.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.1 = Outdoor sensor (GT2)
|
||||
channel-type.regoheatpump.lastErrorType.state.option.2 = Sensor hot water (GT3)
|
||||
|
@ -320,7 +320,7 @@
|
||||
<channel-type id="lastErrorType">
|
||||
<item-type>String</item-type>
|
||||
<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>
|
||||
<state readOnly="true" pattern="%s">
|
||||
<options>
|
||||
|
@ -182,7 +182,7 @@ public abstract class MeterDevice<T> {
|
||||
connector.openConnection();
|
||||
}).doOnError(ex -> {
|
||||
if (ex instanceof TimeoutException) {
|
||||
logger.debug("Timeout occured for {}; {}", getDeviceId(), ex.getMessage());
|
||||
logger.debug("Timeout occurred for {}; {}", getDeviceId(), ex.getMessage());
|
||||
} else {
|
||||
logger.debug("Failed to read: {}. Closing connection and trying again in {} seconds...; {}",
|
||||
ex.getMessage(), RETRY_DELAY, getDeviceId(), ex);
|
||||
|
@ -129,7 +129,7 @@ public class SncfBridgeHandler extends BaseBridgeHandler {
|
||||
}
|
||||
logger.debug("SNCF Api server responded with status code {}: {}", httpStatus, content);
|
||||
} catch (TimeoutException | ExecutionException e) {
|
||||
logger.debug("Execution occured : {}", e.getMessage(), e);
|
||||
logger.debug("Execution occurred : {}", e.getMessage(), e);
|
||||
} catch (InterruptedException e) {
|
||||
logger.debug("Execution interrupted : {}", e.getMessage(), e);
|
||||
Thread.currentThread().interrupt();
|
||||
|
@ -277,7 +277,7 @@ public class TelegramActions implements ThingActions {
|
||||
try {
|
||||
retMessage = localHandler.execute(sendMessage);
|
||||
} catch (Exception e) {
|
||||
logger.warn("Exception occured whilst sending message:{}", e.getMessage());
|
||||
logger.warn("Exception occurred whilst sending message:{}", e.getMessage());
|
||||
}
|
||||
if (!evaluateResponse(retMessage)) {
|
||||
return false;
|
||||
|
@ -91,7 +91,7 @@ public class WLedBridgeHandler extends BaseBridgeHandler {
|
||||
localAPI.savePreset(position, presetName);
|
||||
}
|
||||
} 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;
|
||||
}
|
||||
} 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());
|
||||
}
|
||||
}
|
||||
|
@ -236,7 +236,7 @@ public class WLedSegmentHandler extends BaseThingHandler {
|
||||
break;
|
||||
}
|
||||
} catch (ApiException e) {
|
||||
logger.debug("Exception occured:{}", e.getMessage());
|
||||
logger.debug("Exception occurred:{}", e.getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -67,7 +67,7 @@ public class SimpleNTPServer {
|
||||
try {
|
||||
socket = new DatagramSocket(port);
|
||||
} 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) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user