Catch uncatched Reflection exception for bad type hinting in object

Related to https://github.com/raulfraile/ladybug/issues/58

Opening this PR for further discussion
I don't know Ladybug internals well, so I don't know if it's mandatory to set types without whitespaces. If it's not mandatory, what about making it look more like an error message?

```php
$methodParameter->setType('[Undefined Type Hint]');
```