You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/05/03 14:51:18 UTC

[plc4x] branch develop updated: fix(plc4j/spi): fix error message

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4f4712feba fix(plc4j/spi): fix error message
4f4712feba is described below

commit 4f4712feba947788173c39e6424492176e4b93e4
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Wed May 3 16:51:09 2023 +0200

    fix(plc4j/spi): fix error message
---
 .../java/org/apache/plc4x/test/driver/internal/ConnectionManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/driver/internal/ConnectionManager.java b/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/driver/internal/ConnectionManager.java
index 7c0634b10f..bd33c73036 100644
--- a/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/driver/internal/ConnectionManager.java
+++ b/plc4j/utils/test-utils/src/main/java/org/apache/plc4x/test/driver/internal/ConnectionManager.java
@@ -62,7 +62,7 @@ public class ConnectionManager {
         ChannelExposingConnection connection = (ChannelExposingConnection) plcConnection;
         Channel channel = connection.getChannel();
         if (!(channel instanceof Plc4xEmbeddedChannel)) {
-            throw new PlcRuntimeException("Expecting EmbeddedChannel. Actual "+ channel.getClass());
+            throw new PlcRuntimeException("Expecting Plc4xEmbeddedChannel. Actual "+ channel.getClass());
         }
         return (Plc4xEmbeddedChannel) channel;
     }