Package org.efs.openreports.providers

Examples of org.efs.openreports.providers.ProviderException


      }
    }
    catch (Exception e)
    {
      log.error(e.toString());
      throw new ProviderException(e.getMessage());
    }
  }
View Full Code Here


     
      return (ReportDataSource) criteria.uniqueResult();
    }
    catch (HibernateException he)
    {
      throw new ProviderException(he);
    }
    finally
    {
      hibernateProvider.closeSession(session);
    }
View Full Code Here

      hibernateProvider.delete(dataSource);
      dataSources.remove(dataSource.getId());
    }
    catch (ConstraintException ce)
    {
      throw new ProviderException(LocalStrings.ERROR_DATASOURCE_DELETION);
    }
  } 
View Full Code Here

        conn = dataSource.getConnection();
      }
    }
    catch (Exception e)
    {
      throw new ProviderException(LocalStrings.ERROR_TESTING_CONNECTION
          + ": " + e.getMessage());
    }
    finally
    {
      try
View Full Code Here

        session.close();
      }
    }
    catch (HibernateException he)
    {
      throw new ProviderException(he);
    }
  }
View Full Code Here

    {
      hibernateProvider.delete(property);
    }
    catch (ConstraintException ce)
    {
      throw new ProviderException(ce.getMessage());
    }
  } 
View Full Code Here

        session.close();
      }
    }
    catch (HibernateException he)
    {
      throw new ProviderException(he);
    }
  }
View Full Code Here

    {
      hibernateProvider.delete(reportGroup);
    }
    catch (ConstraintException ce)
    {
      throw new ProviderException(LocalStrings.ERROR_GROUP_DELETION);
    }
  }
View Full Code Here

        session.close();
      }
    }
    catch (HibernateException he)
    {
      throw new ProviderException(he);
    }
  }
View Full Code Here

    }
    catch (HibernateException he)
    {
      hibernateProvider.rollbackTransaction(tx);     

      throw new ProviderException(he.getMessage());
    }
    finally
    {
      hibernateProvider.closeSession(session);
    }
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.