[processing] [feature] split lines with lines

Hi Alex,
thanks for your feedback. Basically I did never experience an error during my tests but as the api docs mention it is a possible return value I included the error check. I will happily change 
the code. Will 
<code>
ProcessingLog.addToLog(ProcessingLog.LOG_WARNING, myLogMessage)
</code>
do?