Return error and exception if class is already declared (refs #4093)
Merge pull request #937 from thingthing/3.2-I4093

Return error and exception if class is already declared (closes #4093)