Rename exception class names.
Use iterator instead of foreach loop to traverse source list.
Move error message from mojo class to exception classes.