Added checking for no channel set
Added parent exception so you can catch any PubnubException