So then is okay or not?

Actually I was wondering to eliminate this Try/Catch statement since this is actually IMO not an Exception. But since I'm just fixing code style I decided to leave it. Just changed because JError is deprecated.