org.olap4j.driver.xmla
Class XmlaHelper

java.lang.Object
  extended by org.olap4j.driver.xmla.XmlaHelper

public class XmlaHelper
extends Object

Helper class which encapsulates policies which are common throughout a driver. These policies include exception handling and factory methods.

Version:
$Id: XmlaHelper.java 482 2012-01-05 23:27:27Z jhyde $
Author:
Luc Boudreau

Constructor Summary
XmlaHelper()
           
 
Method Summary
 OlapException createException(Cell context, String msg)
           
 OlapException createException(Cell context, String msg, Throwable cause)
           
 OlapException createException(String msg)
           
 OlapException createException(String msg, Throwable cause)
           
 OlapException createException(Throwable cause)
           
 OlapException toOlapException(SQLException e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlaHelper

public XmlaHelper()
Method Detail

createException

public OlapException createException(String msg)

createException

public OlapException createException(Throwable cause)

createException

public OlapException createException(String msg,
                                     Throwable cause)

createException

public OlapException createException(Cell context,
                                     String msg)

createException

public OlapException createException(Cell context,
                                     String msg,
                                     Throwable cause)

toOlapException

public OlapException toOlapException(SQLException e)

SourceForge.net_Logo