Examples of ExecutionException


Examples of org.eurekastreams.commons.exceptions.ExecutionException

        mockery.checking(new Expectations()
        {
            {
                oneOf(serviceActionControllerMock).execute(with(any(ServiceActionContext.class)),
                        with(any(ServiceAction.class)));
                will(throwException(new ExecutionException()));
            }
        });

        sut.generateRequestToken("key", "1.0", "http://localhost:8080/gadgets/oauthcallback");
        mockery.assertIsSatisfied();
View Full Code Here

Examples of org.gdbms.engine.data.ExecutionException

        ret = dataSource;
      }

      return ret;
    } catch (DriverException e) {
      throw new ExecutionException(e);
    } catch (EvaluationException e) {
      throw new ExecutionException(e);
    } catch (IOException e) {
      throw new ExecutionException(e);
    } catch (SemanticException e) {
      throw new ExecutionException(e);
    } catch (DriverLoadException e) {
      throw new ExecutionException(e);
    } catch (NoSuchTableException e) {
      throw new ExecutionException(e);
    } catch (DataSourceCreationException e) {
      throw new ExecutionException(e);
    }
  }
View Full Code Here

Examples of org.hibernate.bytecode.buildtime.ExecutionException

        {
            ServiceAction action = (ServiceAction) springBean;

            if (readOnly && !action.isReadOnly())
            {
                throw new ExecutionException(String.format("Action '%s' is not read-only.", actionName));
            }
            return serviceActionController.execute(actionContext, action);
        }
        else if (springBean instanceof TaskHandlerServiceAction)
        {
            TaskHandlerServiceAction action = (TaskHandlerServiceAction) springBean;
            if (readOnly && !action.isReadOnly())
            {
                throw new ExecutionException(String.format("Action '%s' is not read-only.", actionName));
            }
            return serviceActionController.execute(actionContext, action);
        }
        else if (springBean == null)
        {
View Full Code Here

Examples of org.impalaframework.exception.ExecutionException

        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder docBuilder = null;
        try {
            docBuilder = factory.newDocumentBuilder();
        } catch (ParserConfigurationException e) {
            throw new ExecutionException("Error in parser configuration", e);
        }
        Document doc = docBuilder.newDocument();
        return doc;
    }
View Full Code Here

Examples of org.mokai.ExecutionException

      if (Serviceable.class.isInstance(object)) {
        Serviceable connectorService = (Serviceable) object;
        connectorService.doStart();
      }
    } catch (Exception e) {
      throw new ExecutionException("Exception while starting object: " + e.getMessage(), e);
    }
  }
View Full Code Here

Examples of uk.ac.starlink.task.ExecutionException

            public StarTable getTable() throws TaskException {
                try {
                    return new RegistryStarTable( query );
                }
                catch ( Exception e ) {
                    throw new ExecutionException( "Query failed: "
                                                + e.getMessage(), e );
                }
            }
        };
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.