dia to sml: replace plain throws with boost throw exceptions

- add more tests to validator