Package it.eng.spagobi.utilities.exceptions

Examples of it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException


      String userId = (String) userProfile.getUserId();
      LowFunctionality lf = null;
      try {
        lf = DAOFactory.getLowFunctionalityDAO().loadLowFunctionalityByPath("/" + userId, false);
      } catch (Exception e) {
        throw new SpagoBIRuntimeException("Cannot load user functionality for user with id [" + userId + "]", e);
      }
      return lf;
    }
View Full Code Here


      error = DetailBIObjectModule.checkForDependancies(aParameter.getId());
      if (error == null) {
        DAOFactory.getBIObjectParameterDAO().eraseBIObjectParameter(aParameter);
      }
    } catch (EMFUserError e) {
      throw new SpagoBIRuntimeException("Cannot remove document parameter " + aParameter.getLabel(), e);
    }
    logger.debug("OUT");
    return error;
  }
View Full Code Here

    try {
      if( getDataSource() != null) {
        conn = getDataSource().getConnection();
      }
    } catch (Throwable t) {
      throw new SpagoBIRuntimeException("Impossible to get connection", t);
    }
    return conn; 
  }
View Full Code Here

      try {
        writer = servletIOManager.getResponse().getWriter();
        writer.print(buffer.toString());
        writer.flush();
      } catch (IOException e) {
        throw new SpagoBIRuntimeException("Impossible to write back response to client", e);
      }
   
    } catch (Throwable t) {
      throw new SpagoBIRuntimeException("An unpredicted error occurred while executing engine", t);
    } finally {
      logger.info("OUT");
    }
   
  }
View Full Code Here

TOP

Related Classes of it.eng.spagobi.utilities.exceptions.SpagoBIRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.