/** * */ public void undeploy() throws UndeploymentException { Component[] subs = _this_weaveableCC.getFcSubComponents(); for(Component sub : subs){ try { UndeploymentController uc = (UndeploymentController) sub.getFcInterface("undeployment-controller"); uc.undeploy(); } catch (NoSuchInterfaceException e) { throw new ChainedUndeploymentException(e, _this_weaveableC, e.getMessage()); } } }
process = (Process) processDefinitionComp.getFcInterface("process"); } catch (final NoSuchInterfaceException e) { this.log.severe(e.getMessage()); e.printStackTrace(); throw new CoreException(e);
process = (Process) processDefinitionComp.getFcInterface("service"); } catch (final NoSuchInterfaceException e) { this.log.severe(e.getMessage()); e.printStackTrace(); throw new CoreException(e);
ScopeImpl.log.severe(e.getMessage()); throw new CoreException(e);
throw new Exception("Cannot create shortcut links: No such interface exception "+e.getMessage()); } catch (ClassCastException e) {
ScopeImpl.log.severe(e.getMessage()); throw new CoreException(e); } catch (final SCAException e) {
public <T> T get(Class<T> t, String componentName, String serviceName) throws DSBException { T result = null; try { SuperController sc = Fractal.getSuperController(this.component); Component parentcontainer = sc.getFcSuperComponents()[0]; ContentController cc = Fractal.getContentController(parentcontainer); Component c = FractalHelper.getRecursiveComponentByName(cc, componentName); if (c != null) { String name = (serviceName != null) ? serviceName : DEFAULT_SERVICE_NAME; Object o = c.getFcInterface(name); if (o != null) { try { result = t.cast(o); } catch (ClassCastException e) { throw new DSBException(e.getMessage()); } } } else { throw new DSBException("No such component : " + componentName); } } catch (NoSuchInterfaceException e) { throw new DSBException(e.getMessage()); } return result; } }
public void deleteProcess(final Process process) throws CoreException { try { SCAExtendedContentController parentContentController = (SCAExtendedContentController) process.getParentExecution().getComponent().getFcInterface(SCAContentController.NAME); parentContentController.releaseFcContent(process.getComponent(), true); } catch (NoSuchInterfaceException e) { throw new CoreException("Delete process "+process.getName()+ "failed. Caused by "+e.getMessage()); } }
ScopeImpl.log.severe(e.getMessage()); throw new CoreException(e);
ScopeImpl.log.severe(e.getMessage()); throw new CoreException(e); } catch (final SCAException e) {
ScopeImpl.log.finest(e.getMessage()); throw new CoreException(e);
ScopeImpl.log.finest(e.getMessage()); throw new CoreException(e);
log.finest(e.getMessage()); throw new CoreException(e); } catch (final SCAException e) {
log.finest(e.getMessage()); throw new CoreException(e);
log.finest(e.getMessage()); throw new CoreException(e);
ScopeImpl.log.finest(e.getMessage()); throw new CoreException(e); } catch (final SCAException e) {
ScopeImpl.log.finest(e.getMessage()); throw new CoreException(e);
ScopeImpl.log.finest(e.getMessage()); throw new CoreException(e); } catch (final SCAException e) {
String msg = "NoSuchInterfaceException: "+e.getMessage(); throw new ChainedIllegalInterceptorException(e,itf,interceptor,msg);
String msg = "NoSuchInterfaceException: "+e.getMessage(); throw new ChainedIllegalInterceptorException(e,itf,interceptor,msg);