code: public static Cycles all(IAtomContainer container) throws Intractable {
          return all().find(container, container.getAtomCount());
      }
docs: Find all simple cycles in a molecule. The threshold values can not be
  tuned and is set at a value which will complete in reasonable time for
  most molecules. To change the threshold values please use the stand-alone
  {@link AllCycles} or {@link org.openscience.cdk.ringsearch.AllRingsFinder}.
  All cycles is every possible simple cycle (i.e. non-repeating vertices)
  in the chemical graph. As an example - all simple cycles of anthracene
  includes, 3 cycles of length 6, 2 of length 10 and 1 of length 14.
  
  <blockquote>
  <pre>
  for (IAtomContainer m : ms) {
  try {
  Cycles   cycles = Cycles.all(m);
  IRingSet rings  = cycles.toRingSet();
  } catch (Intractable e) {
  // handle error - note it is common that finding all simple
  // cycles in chemical graphs is intractable
  }
  }
  </pre>
  </blockquote>
  
  @return all simple cycles
  @throws Intractable the algorithm reached a limit which caused it to
  abort in reasonable time
  @see #all()
  @see AllCycles
  @see org.openscience.cdk.ringsearch.AllRingsFinder