Fix class name in exception message. Patch applied on behalf of alexandreroman with many thanks. Pull request #1 can be closed.