language/core: add EncodedException
language/core: cleanup