Package com.alibaba.otter.manager.biz.common.exceptions

Examples of com.alibaba.otter.manager.biz.common.exceptions.ManagerException


                return pipelines;
            }
            pipelines = doToModelWithoutOther(pipelineDos);
        } catch (Exception e) {
            logger.error("ERROR ## query pipelines by channelIds:" + channelIds.toString() + " has an exception!");
            throw new ManagerException(e);
        }
        return pipelines;
    }
View Full Code Here


                return pipelines;
            }
            pipelines = doToModelWithoutColumn(pipelineDos);
        } catch (Exception e) {
            logger.error("ERROR ## query pipelines by channelIds:" + channelIds.toString() + " has an exception!");
            throw new ManagerException(e);
        }
        return pipelines;
    }
View Full Code Here

            List<PipelineDO> pipelineDos = pipelineDao.listByMultiId(piplineIds.toArray(new Long[piplineIds.size()]));
            if (pipelineDos.isEmpty()) {
                String exceptionCause = "query the pipelines by pipelineIds:" + piplineIds.toString() + " return null!";
                logger.error("ERROR ## " + exceptionCause);
                throw new ManagerException(exceptionCause);
            }

            pipelines = doToModel(pipelineDos);
        } catch (Exception e) {
            logger.error("ERROR ## query the pipelines by nodeId:" + nodeId + " has an exception!");
            throw new ManagerException(e);
        }

        return pipelines;
    }
View Full Code Here

            } else {
                pipelineDos = pipelineDao.listByMultiId(identities);
                if (pipelineDos.isEmpty()) {
                    String exceptionCause = "couldn't query any pipeline by pipelineIds:" + Arrays.toString(identities);
                    logger.error("ERROR ## " + exceptionCause);
                    throw new ManagerException(exceptionCause);
                }
            }
            pipelines = doToModel(pipelineDos);
        } catch (Exception e) {
            logger.error("ERROR ## query pipelines has an exception!");
            throw new ManagerException(e);
        }
        return pipelines;
    }
View Full Code Here

            pipeline.setExtractNodes(extractNodes);
            pipeline.setLoadNodes(loadNodes);

        } catch (Exception e) {
            logger.error("ERROR ## change the pipeline Do to Model has an exception");
            throw new ManagerException(e);
        }

        return pipeline;
    }
View Full Code Here

            pipeline.setExtractNodes(extractNodes);
            pipeline.setLoadNodes(loadNodes);

        } catch (Exception e) {
            logger.error("ERROR ## change the pipeline Do to Model has an exception");
            throw new ManagerException(e);
        }

        return pipeline;
    }
View Full Code Here

            pipeline.setChannelId(pipelineDo.getChannelId());
            pipeline.getParameters().setMainstemClientId(pipeline.getId().shortValue());

        } catch (Exception e) {
            logger.error("ERROR ## change the pipeline Do to Model has an exception");
            throw new ManagerException(e);
        }

        return pipeline;
    }
View Full Code Here

            pipelineDO.setGmtCreate(pipeline.getGmtCreate());
            pipelineDO.setGmtModified(pipeline.getGmtModified());

        } catch (Exception e) {
            logger.error("ERROR ## change the pipeline Model to Do has an exception");
            throw new ManagerException(e);
        }

        return pipelineDO;
    }
View Full Code Here

                    canal.setId(canalDO.getId());
                } catch (RepeatConfigureException rce) {
                    throw rce;
                } catch (Exception e) {
                    logger.error("ERROR ## create canal has an exception!");
                    throw new ManagerException(e);
                }
            }
        });
    }
View Full Code Here

                try {
                    canalDao.delete(canalId);
                } catch (Exception e) {
                    logger.error("ERROR ## remove canal(" + canalId + ") has an exception!");
                    throw new ManagerException(e);
                }
            }
        });

    }
View Full Code Here

TOP

Related Classes of com.alibaba.otter.manager.biz.common.exceptions.ManagerException

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.