Examples of StoreException


Examples of net.sf.joafip.store.service.StoreException

    this.fileAccessMode = fileAccessMode;
  }

  public int getMaxNumberOfBuffer() throws StoreException {
    if (maxNumberOfBuffer == null) {
      throw new StoreException("number of file buffer parameter not set");
    }
    return maxNumberOfBuffer;
  }
View Full Code Here

Examples of org.apache.oozie.store.StoreException

            WorkflowInstance wfInstance;
            try {
                wfInstance = workflowLib.createInstance(app, conf);
            }
            catch (WorkflowException e) {
                throw new StoreException(e);
            }

            Configuration conf = wfInstance.getConf();

            WorkflowJobBean workflow = new WorkflowJobBean();
View Full Code Here

Examples of org.apache.openjpa.util.StoreException

                if (fields.get(i) && !sm.getLoaded().get(i))
                    fms[i].load(sm, this, jfetch.traverseJDBC(fms[i]));
            mapping.getVersion().afterLoad(sm, this);
            return true;
        } catch (ClassNotFoundException cnfe) {
            throw new StoreException(cnfe);
        } catch (SQLException se) {
            throw SQLExceptions.getStore(se, _dict);
        }
    }
View Full Code Here

Examples of org.apache.qpid.server.store.StoreException

        verify(_store).removeNodeFromGroup(TEST_NODE_NAME);
    }

    public void testRemoveNodeFromReplicationGroupWithError() throws Exception
    {
        doThrow(new StoreException("mocked exception")).when(_store).removeNodeFromGroup(TEST_NODE_NAME);

        try
        {
            _mBean.removeNodeFromGroup(TEST_NODE_NAME);
            fail("Exception not thrown");
View Full Code Here

Examples of org.apache.stanbol.contenthub.servicesapi.store.StoreException

            enhancementGraph = tcManager.createMGraph(graphUri);
            registerEnhancementGraph(graphUri, enhancementGraph);

        } catch (InvalidSyntaxException e) {
            log.error("Failed to get ServiceReference for TripleCollection");
            throw new StoreException("Failed to get ServiceReference for TripleCollection", e);
        }
    }
View Full Code Here

Examples of org.bouncycastle.util.StoreException

                return new X500Principal(encSubject).getName("RFC1779");
            }
        }
        catch (IOException e)
        {
            throw new StoreException("exception processing name: " + e.getMessage(), e);
        }
        return null;
    }
View Full Code Here

Examples of org.geotools.data.shapefile.index.quadtree.StoreException

            channel.write(buf);

            this.writeNode(tree.getRoot(), channel, order);
        } catch (IOException e) {
            throw new StoreException(e);
        } finally {
            try {
                channel.close();
            } catch (Exception e) {
            }
View Full Code Here

Examples of org.mokai.persist.StoreException

      } else {
        throw new RejectedException("this message store doesn't supports direction '" + direction + "'");
      }

    } catch (SQLException e) {
      throw new StoreException(e);
    } finally {
      if (conn != null) {
        try { conn.close(); } catch (SQLException e) {}
      }
    }
View Full Code Here

Examples of org.openrdf.store.StoreException

          stack.addAll(Arrays.asList(new Throwable().getStackTrace()));
          e.setStackTrace(stack.toArray(new StackTraceElement[stack.size()]));
          throw e;
        }
        catch (Exception e) {
          throw new StoreException(e);
        }
      }
    });
  }
View Full Code Here

Examples of org.openrdf.store.StoreException

   */
  protected void verifyNotReadOnly()
    throws StoreException
  {
    if (isReadOnly()) {
      throw new StoreException("Connection is in read-only mode");
    }
  }
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.