Fixed crash in case of too long error message
Fixed crash in case of too long error message

Fixes #108

melven/tixi,DLR-SC/tixi,melven/tixi,melven/tixi,melven/tixi,DLR-SC/tixi,DLR-SC/tixi,DLR-SC/tixi,DLR-SC/tixi,melven/tixi