PROTON-1708: fix some c&p errors with names
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java
index 11c5223..189b360 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathHeaderType.java
@@ -73,7 +73,7 @@
                 count = decoder.getByteBuffer().getInt();
                 break;
             default:
-                throw new DecodeException("Incorrect type found in Transfer encoding: " + typeCode);
+                throw new DecodeException("Incorrect type found in Header encoding: " + typeCode);
         }
 
         Header header = new Header();
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java
index d689747..e3caca5 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/codec/messaging/FastPathPropertiesType.java
@@ -73,7 +73,7 @@
                 count = decoder.getByteBuffer().getInt();
                 break;
             default:
-                throw new DecodeException("Incorrect type found in Transfer encoding: " + typeCode);
+                throw new DecodeException("Incorrect type found in Properties encoding: " + typeCode);
         }
 
         Properties properties = new Properties();