Package de.danet.an.workflow.spis.aii.ExceptionMappingProvider

Examples of de.danet.an.workflow.spis.aii.ExceptionMappingProvider.ExceptionMapping


          logger.debug ("Invocation resulted in: " + e.toString());
      }
      // try to find mapping
      if (e.getCause() != null && exceptionMappings != null) {
          for (Iterator i = exceptionMappings.iterator(); i.hasNext();) {
              ExceptionMapping m = (ExceptionMapping)i.next ();
              if (m.getJavaException().isInstance(e.getCause())) {
                  if (m.getProcessException() == null) {
                      break;
                  }
                  ResultProvider.ExceptionResult eres
                      = new ResultProvider.ExceptionResult
                            (m.getProcessException(), m.getSuspendActivity());
                        if (logger.isDebugEnabled()) {
                            logger.debug
                                ("Exception mapped to: " + eres.toString());
                        }
                  return new InvocationResult (eres);
View Full Code Here


              Class t = Thread.currentThread().getContextClassLoader()
                .loadClass(a.getValue("JavaException"));
                    String suspAttr = a.getValue("SuspendActivity");
                    boolean suspAct = (suspAttr != null)
                        && (suspAttr.equals("true") || suspAttr.equals("1"));
              ExceptionMapping em = new ExceptionMapping
          (t, a.getValue("ProcessException"), suspAct);
              exceptionMappings.add (em);
          } catch (ClassNotFoundException e) {
              throw new SAXException (e);
          }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.spis.aii.ExceptionMappingProvider.ExceptionMapping

Copyright © 2018 www.massapicom. 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.