()
| 585 | } |
| 586 | |
| 587 | private void |
| 588 | checkDone() { |
| 589 | if (done && result != -1) |
| 590 | return; |
| 591 | StringBuffer sb = new StringBuffer("Lookup of " + name + " "); |
| 592 | if (dclass != DClass.IN) |
| 593 | sb.append(DClass.string(dclass) + " "); |
| 594 | sb.append(Type.string(type) + " isn't done"); |
| 595 | throw new IllegalStateException(sb.toString()); |
| 596 | } |
| 597 | |
| 598 | /** |
| 599 | * Returns the answers from the lookup. |
no test coverage detected