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

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


                return dataMediaPairs;
            }
            dataMediaPairs = doToModelWithoutOther(dataMediaPairDos);
        } catch (Exception e) {
            logger.error("ERROR ## query dataMediaPairs by pipelineId:" + pipelineId + " has an exception!", e);
            throw new ManagerException(e);
        }

        return dataMediaPairs;
    }
View Full Code Here


                return dataMediaPairs;
            }
            dataMediaPairs = doToModel(dataMediaPairDos);
        } catch (Exception e) {
            logger.error("ERROR ## query dataMediaPairs by dataMediaId:" + dataMediaId + " has an exception!", e);
            throw new ManagerException(e);
        }

        return dataMediaPairs;
    }
View Full Code Here

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

        return dataMediaPair;
    }
View Full Code Here

            dataMediaPairDo.setColumnPairMode(dataMediaPair.getColumnPairMode());
            dataMediaPairDo.setGmtCreate(dataMediaPair.getGmtCreate());
            dataMediaPairDo.setGmtModified(dataMediaPair.getGmtModified());
        } catch (Exception e) {
            logger.error("ERROR ## change the dataMediaPair Model to Do has an exception", e);
            throw new ManagerException(e);
        }

        return dataMediaPairDo;
    }
View Full Code Here

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

        try {
            dataMediaSourceDao.delete(dataMediaSourceId);
        } catch (Exception e) {
            logger.error("ERROR ## remove dataMediaSource has an exception!");
            throw new ManagerException(e);
        }

    }
View Full Code Here

            }
        } catch (RepeatConfigureException rce) {
            throw rce;
        } catch (Exception e) {
            logger.error("ERROR ## modify dataMediaSource has an exception!");
            throw new ManagerException(e);
        }
    }
View Full Code Here

                return dataMediaSources;
            }
            dataMediaSources = doToModel(dataMediaSourceDos);
        } catch (Exception e) {
            logger.error("ERROR ## query DataMediaSources by condition has an exception!");
            throw new ManagerException(e);
        }

        return dataMediaSources;
    }
View Full Code Here

            dataMediaSourceDos = dataMediaSourceDao.listByMultiId(identities);
            if (dataMediaSourceDos.isEmpty()) {
                String exceptionCause = "couldn't query any dataMediaSource by dataMediaSourceIds:"
                                        + Arrays.toString(identities);
                logger.error("ERROR ## " + exceptionCause);
                throw new ManagerException(exceptionCause);
            }
        }

        return doToModel(dataMediaSourceDos);
    }
View Full Code Here

        List<DataMediaSource> dataMediaSources = listByIds(dataMediaSourceId);
        if (dataMediaSources.size() != 1) {
            String exceptionCause = "query dataMediaSourceId:" + dataMediaSourceId + " but return "
                                    + dataMediaSources.size() + " dataMediaSource.";
            logger.error("ERROR ## " + exceptionCause);
            throw new ManagerException(exceptionCause);
        }
        return dataMediaSources.get(0);

    }
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.