Examples of TransformationException


Examples of modTransf.engine.TransformationException

      ex.fillInStackTrace( this, args, "rule" );
      throw ex;
    }
    catch(Exception ex)
    { // Add trace
      TransformationException tex = new TransformationException(ex);
      tex.fillInStackTrace( this, args, "rule" );
      throw tex;
    }
  }
View Full Code Here

Examples of modTransf.engine.TransformationException

    {
      return request.getTransformation().getModels().getProperty(parentBean, propertyName);
    }
    catch(ModelException ex)
    {
      throw new TransformationException(ex);
    }
  }
View Full Code Here

Examples of modTransf.engine.TransformationException

      }
    }
    catch(ClassCastException ex)
    {
      ex.printStackTrace();
      throw new TransformationException("Property '" + propertyName +"' should denote a collection", ex);
    }
    catch(ModelException ex)
    {
      ex.printStackTrace();
      throw new TransformationException(ex);
    }
    catch(Exception ex)
    {
      ex.printStackTrace();
      throw new TransformationException(ex);
    }
  }
View Full Code Here

Examples of modTransf.engine.TransformationException

      catch( Exception ex )
       { // Add the stack trace.
         // This allow to have a list of the calls to the method.
         // This list is build only if an error occur.
       TransformationException tex = new TransformationException(ex);
       tex.fillInStackTrace( (Object)action, object, "action");
       throw tex;
       }

   return res;
   }
View Full Code Here

Examples of modTransf.engine.TransformationException

      return getDomain().getModelHelper(request).getProperty(parentBean, propertyName);
     // return request.getTransformation().getModels().getProperty(bean, propertyName);
    }
    catch(ModelException ex)
    {
      throw new TransformationException(ex);
    }
   }
View Full Code Here

Examples of modTransf.engine.TransformationException

          //request.getTransformation().getModels().setProperty(bean, propertyName, value);
        }
      }
      catch(ModelException ex)
      {
        throw new TransformationException(ex);
      }
     }
View Full Code Here

Examples of modTransf.engine.TransformationException

       else
         compiledScript = new StringCompiledExpression(msg);
    }
    catch(ScriptException ex)
    {
      throw new TransformationException(ex);
    }

    if(logName==null)
    { // Output in the system.out
      // Compute the message
View Full Code Here

Examples of modTransf.engine.TransformationException

      ScriptContext scriptContext = new RuleContextWrapperForScriptContext(request);
      return  compiledScript.eval(scriptContext);
    }
    catch(ScriptException ex)
    {
      throw new TransformationException(ex);
    }
  }
View Full Code Here

Examples of org.apache.tuscany.sca.databinding.TransformationException

        if (dataBindingId != null) {
            DataBinding dataBinding = mediator.getDataBindings().getDataBinding(dataBindingId);
            wrapperHandler = dataBinding == null ? null : dataBinding.getWrapperHandler();
        }
        if (wrapperHandler == null && required) {
            throw new TransformationException("No wrapper handler is provided for databinding: " + dataBindingId);
        }
        return wrapperHandler;
    }
View Full Code Here

Examples of org.apache.tuscany.spi.databinding.TransformationException

    public XmlObject transform(XMLStreamReader source, TransformationContext context) {
        try {
            return XmlObject.Factory.parse(source);
        } catch (XmlException e) {
            throw new TransformationException(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.