public com.ebmwebsourcing.easyviper.core.api.Core getCore() throws com.ebmwebsourcing.easyviper.core.api.CoreException { com.ebmwebsourcing.easyviper.core.api.Core ret = service.getCore(); return ret; }
public com.ebmwebsourcing.easyviper.core.api.Core getCore() throws com.ebmwebsourcing.easyviper.core.api.CoreException { if ( impl == null ) { throw new java.lang.NullPointerException("Trying to invoke a method on a client or server interface whose complementary interface is not bound."); } com.ebmwebsourcing.easyviper.core.api.Core ret = impl.getCore(); return ret; }
public com.ebmwebsourcing.easyviper.core.api.Core getCore() throws com.ebmwebsourcing.easyviper.core.api.CoreException { java.util.List<org.ow2.frascati.tinfi.api.IntentHandler> handlers = intentHandlersMap.get(METHODS[5]); try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.Core ret = impl.getCore(); return ret; } else { org.objectweb.fractal.api.Component comp = getFcComponent(); org.objectweb.fractal.api.Interface itf = getFcItf(); org.ow2.frascati.tinfi.IntentJoinPointImpl<com.ebmwebsourcing.easyviper.core.api.engine.Engine> ijp = new org.ow2.frascati.tinfi.IntentJoinPointImpl(); ijp.init(handlers,comp,itf,impl,METHODS[5]); com.ebmwebsourcing.easyviper.core.api.Core ret = (com.ebmwebsourcing.easyviper.core.api.Core) ijp.proceed(); return ret; } } catch( Throwable t ) { if( t instanceof com.ebmwebsourcing.easyviper.core.api.CoreException ) { throw (com.ebmwebsourcing.easyviper.core.api.CoreException) t; } if( t instanceof RuntimeException ) { throw (RuntimeException) t; } throw new org.ow2.frascati.tinfi.TinfiRuntimeException(t); } }
try { this.validProcessOrExecution.getParentScope().getProcess().getEngine() .getCore().getExternalEnvironment().getSenders().get(0).sendTo((CoreException)e, this.context); } catch (CoreException e1) {
try { if( handlers.size() == 0 ) { com.ebmwebsourcing.easyviper.core.api.Core ret = impl.getCore(); return ret;
@Override public void run() { try { if (validProcessOrExecution.isStepByStep()) { validProcessOrExecution.runStepByStep(); } else { validProcessOrExecution.run(); } } catch (Exception e) { if(e instanceof CoreException) { try { this.validProcessOrExecution.getParentScope().getProcess().getEngine().getCore().getExternalEnvironment().getSenders().get(0).sendTo((CoreException)e, context); } catch (CoreException e1) { this.validProcessOrExecution.setState(Execution.State.ENDED); try { this.validProcessOrExecution.end(); } catch (CoreException e2) { e1.printStackTrace(); log.severe(e1.getMessage()); } e1.printStackTrace(); log.severe(e1.getMessage()); } } else { e.printStackTrace(); log.severe(e.getMessage()); } } }