moved semtagexception and added some javadoc