org.olap4j
Class OlapExceptionHelper

java.lang.Object
  extended by org.olap4j.OlapExceptionHelper

public class OlapExceptionHelper
extends Object

Sugar class to help create OlapExceptions.

Author:
Luc Boudreau
 

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

Constructor Detail

OlapExceptionHelper

public OlapExceptionHelper()
Method Detail

createException

public static OlapException createException(String msg)

createException

public static OlapException createException(Throwable cause)

createException

public static OlapException createException(String msg,
                                            Throwable cause)

createException

public static OlapException createException(Cell context,
                                            String msg)

createException

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

toOlapException

public static OlapException toOlapException(SQLException e)

SourceForge.net_Logo