Package org.efs.openreports.providers

Examples of org.efs.openreports.providers.ProviderException


      return output;
    }
    catch (Exception e)
    {
      e.printStackTrace();
      throw new ProviderException("Error executing report query: " + e.getMessage());     
    }
    finally
    {
      try
      {
View Full Code Here


    }
  } 
 
  public List<ReportParameter> buildParameterList(Report report) throws ProviderException
  {
    throw new ProviderException("QueryReportEngine: buildParameterList not implemented.");
  }   
View Full Code Here

    {
      hibernateProvider.rollbackTransaction(tx);
         
      if (he.getCause() != null && he.getCause().getMessage() != null && he.getCause().getMessage().toUpperCase().indexOf("CONSTRAINT") > 0)
      {
        throw new ProviderException(LocalStrings.ERROR_ALERT_DELETION);
      }
       
      log.error("deleteReportAlert", he);     
      throw new ProviderException(LocalStrings.ERROR_SERVERSIDE);
    }
    finally
    {
      hibernateProvider.closeSession(session);
    }   
View Full Code Here

      alertLog.setStatus(ReportLog.STATUS_FAILURE);
      alertLog.setEndTime(new Date());

      reportLogProvider.updateReportLog(alertLog);
     
      throw new ProviderException(LocalStrings.ERROR_ALERTQUERY_INVALID);
    }
    finally
    {
      try
      {
View Full Code Here

      return output;
    }
    catch(Exception e)
    {
      e.printStackTrace();
      throw new ProviderException(e);
    }
    finally
    {
      try
      {
View Full Code Here

    }
  }
 
  public List buildParameterList(Report report) throws ProviderException
  {
    throw new ProviderException("JXLSReportEngine: buildParameterList not implemented.");
  }   
View Full Code Here

      } catch( Exception e ) {
        String msg = "Unable to complete query against datasourceName=[" + datasourceName +"]." +
                  " Please ensure the datasourceName in your xls template is valid." +
            "  Caught exception is " + e.getClass().getName() + ", message is " + e.getMessage();     
        log.error(msg);
        throw new ProviderException(msg)
      }
      return results;
    }
View Full Code Here

      } catch( Exception e ) {
        String msg = "Unable to execute sql=[" + sql + "] against datasourceId=[" + datasourceId +"]." +
                  " Please ensure the dataSourceId and SQL in your xls template are valid." +
            "  Caught exception is " + e.getClass().getName() + ", message is " + e.getMessage();     
        log.error(msg);        
        throw new ProviderException(msg);
      } finally {
        super.setConnection(defaultConnection);
      }
      return list;
   
View Full Code Here

      return output;
    }
    catch (Exception e)
    {
      throw new ProviderException(e);
    }
    finally
    {
      try
      {
View Full Code Here

    }
  } 
 
  public List buildParameterList(Report report) throws ProviderException
  {
    throw new ProviderException("JFreeReportEngine: buildParameterList not implemented.");
  }   
View Full Code Here

TOP

Related Classes of org.efs.openreports.providers.ProviderException

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.