Make sure we are only accept exception baseclasses
Added documentation