001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2005-2006 Pentaho and others
008// All Rights Reserved.
009*/
010package mondrian.xmla;
011
012/**
013 * XML/A response interface.
014 *
015 * @author Gang Chen
016 */
017public interface XmlaResponse {
018
019    /**
020     * Report XML/A error (not SOAP fault).
021     */
022    public void error(Throwable t);
023
024    /**
025     * Get helper for writing XML document.
026     */
027    public SaxWriter getWriter();
028}
029
030// End XmlaResponse.java