Add own exception class for parse errors

Fixes #15