Package com.alibaba.citrus.service.pipeline

Examples of com.alibaba.citrus.service.pipeline.PipelineException


            ostream = rundata.getResponse().getOutputStream();

            StreamUtil.io(istream, ostream, true, false);
        } catch (IOException e) {
            throw new PipelineException("Failed reading resource: " + resource);
        } finally {
            if (ostream != null) {
                try {
                    ostream.flush();
                } catch (IOException e) {
View Full Code Here


                    rundata.getRequest().setAttribute(actionKey, "executed");

                    try {
                        moduleLoaderService.getModule(ACTION_MODULE, action).execute();
                    } catch (ModuleLoaderException e) {
                        throw new PipelineException("Could not load action module: " + action, e);
                    } catch (Exception e) {
                        throw new PipelineException("Failed to execute action module", e);
                    }
                }
            }
        }
View Full Code Here

            ostream = rundata.getResponse().getOutputStream();

            StreamUtil.io(istream, ostream, true, false);
        } catch (IOException e) {
            throw new PipelineException("Failed reading resource: " + resource);
        } finally {
            if (ostream != null) {
                try {
                    ostream.flush();
                } catch (IOException e) {
View Full Code Here

            return (Boolean) value;
        } else {
            try {
                return (Boolean) new SimpleTypeConverter().convertIfNecessary(value, Boolean.class);
            } catch (TypeMismatchException e) {
                throw new PipelineException(
                        "Failed to evaluating expression for JexlCondition into a boolean value: \""
                        + getEscapedExpression(expressionString) + "\"", e);
            }
        }
    }
View Full Code Here

                        valve.invoke(this);
                    } catch (PipelineException e) {
                        throw e;
                    } catch (Exception e) {
                        throw new PipelineException("Failed to invoke " + descCurrentValve() + ": " + valve, e);
                    } finally {
                        if (log.isTraceEnabled()) {
                            log.trace("...Exited {}: {}", descCurrentValve(), valve);
                        }
                    }
View Full Code Here

            return (Boolean) value;
        } else {
            try {
                return (Boolean) new SimpleTypeConverter().convertIfNecessary(value, Boolean.class);
            } catch (TypeMismatchException e) {
                throw new PipelineException(
                        "Failed to evaluating expression for JexlCondition into a boolean value: \""
                                + getEscapedExpression(expressionString) + "\"", e);
            }
        }
    }
View Full Code Here

                        valve.invoke(this);
                    } catch (PipelineException e) {
                        throw e;
                    } catch (Exception e) {
                        throw new PipelineException("Failed to invoke " + descCurrentValve() + ": " + valve, e);
                    } finally {
                        if (log.isTraceEnabled()) {
                            log.trace("...Exited {}: {}", descCurrentValve(), valve);
                        }
                    }
View Full Code Here

                    rundata.getRequest().setAttribute(actionKey, "executed");

                    try {
                        moduleLoaderService.getModule(ACTION_MODULE, action).execute();
                    } catch (ModuleLoaderException e) {
                        throw new PipelineException("Could not load action module: " + action, e);
                    } catch (Exception e) {
                        throw new PipelineException("Failed to execute action module", e);
                    }
                }
            }
        }
View Full Code Here

            ostream = rundata.getResponse().getOutputStream();

            StreamUtil.io(istream, ostream, true, false);
        } catch (IOException e) {
            throw new PipelineException("Failed reading resource: " + resource);
        } finally {
            if (ostream != null) {
                try {
                    ostream.flush();
                } catch (IOException e) {
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.pipeline.PipelineException

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.