util

Clone or download

Removed serial version UID

Modified Files

--- 'a/src/main/java/com/stream_pi/util/comms/Message.java'
+++ b/src/main/java/com/stream_pi/util/comms/Message.java
@@ -23,7 +23,6 @@ import java.io.Serializable;
*/
public class Message implements Serializable
{
- private static final long SerialVersionUID = 2004200019671976L;
private final String header;
private String[] stringArrValue;
private String stringValue;
--- 'a/src/main/java/com/stream_pi/util/xmlconfighelper/XMLConfigHelper.java'
+++ b/src/main/java/com/stream_pi/util/xmlconfighelper/XMLConfigHelper.java
@@ -72,8 +72,7 @@ public class XMLConfigHelper {
}
else
{
- logger.severe("Passed parentElement is not Document/Element");
- return null;
+ throw new Exception("Passed parentElement asking for property "+propertyName+" is not Document/Element");
}
}
catch (Exception e)