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

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


            matrixDo.setSlave(matrix.getSlave());
            matrixDo.setGmtCreate(matrix.getGmtCreate());
            matrixDo.setGmtModified(matrix.getGmtModified());
        } catch (Exception e) {
            logger.error("ERROR ## change the matrix Model to Do has an exception");
            throw new ManagerException(e);
        }
        return matrixDo;
    }
View Full Code Here


            matrix.setSlave(matrixDo.getSlave());
            matrix.setGmtCreate(matrixDo.getGmtCreate());
            matrix.setGmtModified(matrixDo.getGmtModified());
        } catch (Exception e) {
            logger.error("ERROR ## change the canal Do to Model has an exception");
            throw new ManagerException(e);
        }

        return matrix;
    }
View Full Code Here

            return dataMediaPairDo.getId();
        } catch (RepeatConfigureException rcf) {
            throw rcf;
        } catch (Exception e) {
            logger.error("ERROR ## create dataMediaPair has an exception!", e);
            throw new ManagerException(e);
        }

    }
View Full Code Here

            }
            dataMediaPairDao.insert(dataMediaPairDo);
            return true;
        } catch (Exception e) {
            logger.error("ERROR ## create dataMediaPair has an exception!", e);
            throw new ManagerException(e);
        }

    }
View Full Code Here

        try {
            dataMediaPairDao.delete(dataMediaPairId);
        } catch (Exception e) {
            logger.error("ERROR ## remove dataMediaPair has an exception!", e);
            throw new ManagerException(e);
        }
    }
View Full Code Here

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

                dataMediaPairDos = dataMediaPairDao.listByMultiId(identities);
                if (dataMediaPairDos.isEmpty()) {
                    String exceptionCause = "couldn't query any dataMediaPair by dataMediaPairIds:"
                                            + Arrays.toString(identities);
                    logger.error("ERROR ## " + exceptionCause);
                    throw new ManagerException(exceptionCause);
                }
            }
            dataMediaPairs = doToModel(dataMediaPairDos);
        } catch (Exception e) {
            logger.error("ERROR ## query dataMediaPairs 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 condition has an exception!", e);
            throw new ManagerException(e);
        }
        return dataMediaPairs;
    }
View Full Code Here

        List<DataMediaPair> dataMediaPairs = listByIds(dataMediaPairId);
        if (dataMediaPairs.size() != 1) {
            String exceptionCause = "query dataMediaPairId:" + dataMediaPairId + " but return " + dataMediaPairs.size()
                                    + " Pairs.";
            logger.error("ERROR ## " + exceptionCause);
            throw new ManagerException(exceptionCause);
        }
        return dataMediaPairs.get(0);
    }
View Full Code Here

                return dataMediaPairs;
            }
            dataMediaPairs = doToModel(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

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.