Replace some Console outs with Trace statements.
diff --git a/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs b/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
index eacc8fe..99dd04a 100644
--- a/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
+++ b/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
@@ -172,7 +172,6 @@
{
if(value == null)
{
- Console.WriteLine("Null Map Value");
throw new NullReferenceException("PrimitiveMap values should not be Null");
}
else if(value is char)
@@ -217,13 +216,13 @@
}
else if(value is IDictionary)
{
- Console.WriteLine("Can't Marshal a Dictionary");
+ Tracer.Debug("Can't Marshal a Dictionary");
throw new NotSupportedException("Can't marshal nested Maps in Stomp");
}
else if(value is IList)
{
- Console.WriteLine("Can't Marshal a List");
+ Tracer.Debug("Can't Marshal a List");
throw new NotSupportedException("Can't marshal nested Maps in Stomp");
}