throw new Exception("No output instance format defined");
throw new NullPointerException("No output instance format defined");
  public Instance outputPeek() throws Exception {    if (m_OutputFormat == null) {      throw new Exception("No output instance format defined");    }    if (m_OutputQueue.empty()) {      return null;    }    Instance result = (Instance)m_OutputQueue.peek();    return result;  }