Tabnine Logo
ReThrowBehaviourImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
ReThrowBehaviourImpl
in
com.ebmwebsourcing.easyviper.core.impl.engine.behaviour.functionnal

Best Java code snippets using com.ebmwebsourcing.easyviper.core.impl.engine.behaviour.functionnal.ReThrowBehaviourImpl (Showing top 3 results out of 315)

origin: com.ebmwebsourcing.easybpel/easybpel.model.bpel.impl

private Node generateReThrow(final Scope scope, final ReThrow rethrow,
    final BPELProcess bpelprocess) throws CoreException {
  this.log.finest("start generate rethrow");
  final ReThrowBehaviour reThrowBehaviour = new ReThrowBehaviourImpl();
  final Node rethrowNode = scope.createNode(rethrow.getName(),
      reThrowBehaviour);
  this.log.finest("end generate rethrow");
  return rethrowNode;
}
origin: com.ebmwebsourcing.easyviper/core-impl

@Override
protected void executeOnInactive() throws CoreException {
  this.log.finest("start rethrow behaviour on node: " + this.node.getName());
  this.state = State.ACTIVITY_STARTED;
  // find exception
  Exception e = null;
  Scope currentScope =  this.getNode().getExecution().getParentScope();
  while(e==null && currentScope != null) {
    e = currentScope.isFaultScope();
    currentScope = currentScope.getParentScope();
  }
  if(e == null) {
    throw new CoreException("Impossible to find exception to rethrow");
  }
  this.log.finest("execute rethrow behaviour: " + e.getClass());
  if(!(e instanceof CoreException)) {
    throw new CoreException(e);
  } else {
    throw (CoreException)e;
  }
}
origin: com.ebmwebsourcing.easyviper.core/easyviper.core.impl

@Override
protected void executeOnInactive() throws CoreException {
  this.log.finest("start rethrow behaviour on node: " + this.node.getName());
  this.state = State.ACTIVITY_STARTED;
  // find exception
  Exception e = null;
  Scope currentScope =  this.getNode().getExecution().getParentScope();
  while(e==null && currentScope != null) {
    e = currentScope.isFaultScope();
    currentScope = currentScope.getParentScope();
  }
  if(e == null) {
    throw new CoreException("Impossible to find exception to rethrow");
  }
  this.log.finest("execute rethrow behaviour: " + e.getClass());
  if(!(e instanceof CoreException)) {
    throw new CoreException(e);
  } else {
    throw (CoreException)e;
  }
}
com.ebmwebsourcing.easyviper.core.impl.engine.behaviour.functionnalReThrowBehaviourImpl

Most used methods

  • getNode
  • <init>

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • runOnUiThread (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ImageIO (javax.imageio)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now