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