@Override public int getSize() { try { return tinfo == null ? 1 : tinfo.getFrameCount(); } catch (VMNotInterruptedException e) { // ### Is this the right way to handle this? return 0; } }