Removed hasQueueName() method and added CannotCreate- exception