Examples of EMFInternalError


Examples of it.eng.spago.error.EMFInternalError

    } catch (EMFUserError e) {
      logger.error("Error loading menu", e);
      this.getErrorHandler().addError(e);
    } catch (Exception ex) {
      logger.error("Error loading menu", ex);
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      this.getErrorHandler().addError(internalError);
    } finally {
      logger.debug("OUT");
    }
  }
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

    } catch (EMFUserError e) {
      logger.error("Error loading menus", e);
      this.getErrorHandler().addError(e);
    } catch (Exception ex) {
      logger.error("Error loading menus", ex);
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      this.getErrorHandler().addError(internalError);
    }
  }
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

     
    } catch (EMFUserError eex) {
      errorHandler.addError(eex);
      return;
    } catch (Exception ex) {
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      errorHandler.addError(internalError);
      return;
    }
 
  logger.debug("OUT");
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

      it = errors.iterator();
      while(it.hasNext()) {
        Object o = it.next();
        logger.debug("Error type [" + o.getClass().getName()+ "]");
        if(o instanceof EMFInternalError) {
          EMFInternalError error = (EMFInternalError)o;
          Exception e = error.getNativeException();
          if(e instanceof SpagoBIEngineServiceException) {
            SpagoBIEngineServiceException serviceError = (SpagoBIEngineServiceException)e;
            logError(serviceError);
           
            try {
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

      Class mapperClass = Class.forName("it.eng.spago.dbaccess.sql.mappers.OracleSQLMapper");
      SQLMapper sqlMapper = (SQLMapper)mapperClass.newInstance();
      dataCon = new DataConnection(con, "2.1", sqlMapper);
    } catch(Exception e) {
      logger.error("Error while getting Data Source " + e);
      throw new EMFInternalError(EMFErrorSeverity.ERROR, "cannot build spago DataConnection object");
    }
    return dataCon;
  }
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

    } catch (EMFUserError eex) {
      errorHandler.addError(eex);
      return;
    } catch (Exception ex) {
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      errorHandler.addError(internalError);
      return;
    }
  }
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

   * @return The reloaded ParameterUse
   * @throws EMFInternalError
   */
  private ParameterUse reloadParuse (Integer parIdInt, String label) throws EMFInternalError {
    if (parIdInt == null || parIdInt.intValue() < 0 || label == null || label.trim().equals(""))
      throw new EMFInternalError(EMFErrorSeverity.ERROR, "Invalid input data for method relaodParuse in DetailParameterModule");
    ParameterUse paruse = null;
    try {
      IParameterUseDAO paruseDAO = DAOFactory.getParameterUseDAO();
      List paruses = paruseDAO.loadParametersUseByParId(parIdInt);
      Iterator it = paruses.iterator();
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

   * @return The reloaded Parameter
   * @throws EMFInternalError
   */
  private Parameter reloadParameter (String label) throws EMFInternalError {
    if (label == null || label.trim().equals(""))
      throw new EMFInternalError(EMFErrorSeverity.ERROR, "Invalid input data for method relaodParameter in DetailParameterModule");
    Parameter parameter = null;
    try {
      IParameterDAO parareterDAO = DAOFactory.getParameterDAO();
      List parameters = parareterDAO.loadAllParameters();
      Iterator it = parameters.iterator();
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

    } catch (EMFUserError eex) {
      errorHandler.addError(eex);
      return;
    } catch (Exception ex) {
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      errorHandler.addError(internalError);
      return;
    }
  }
View Full Code Here

Examples of it.eng.spago.error.EMFInternalError

    } catch (EMFUserError eex) {
      errorHandler.addError(eex);
      return;
    } catch (Exception ex) {
      EMFInternalError internalError = new EMFInternalError(EMFErrorSeverity.ERROR, ex);
      errorHandler.addError(internalError);
      return;
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.