throw new IllegalStateException("This method has been deprecated and shouldn't be used");
return endpoint.getIdBlock(size);
   public IdBlock getIdBlock(int size) throws JMSException   {      throw new IllegalStateException("This method has been deprecated and shouldn't be used");   }