Package org.mifosplatform.infrastructure.jobs.exception

Examples of org.mifosplatform.infrastructure.jobs.exception.JobExecutionException


                            isRegularTransaction);
                    transferFeeCharge(sb, accountTransferDTO);
                }
            }
        }
        if (sb.length() > 0) { throw new JobExecutionException(sb.toString()); }
    }
View Full Code Here


                            + realCause.getMessage());
                    sb.append("Apply Charges due for overdue loans failed for account:").append(loanId).append(" with message ")
                            .append(realCause.getMessage());
                }
            }
            if (sb.length() > 0) { throw new JobExecutionException(sb.toString()); }
        }
    }
View Full Code Here

                sb.append("InsufficientAccountBalance Exception while trasfering Interest form ")
                        .append(accountTransferDTO.getFromAccountId()).append(" to ").append(accountTransferDTO.getToAccountId())
                        .append("--------");
            }
        }
        if (sb.length() > 0) { throw new JobExecutionException(sb.toString()); }
    }
View Full Code Here

        logger.info(ThreadLocalContextUtil.getTenant().getName() + ": Savings accounts affected by update: " + chargesDueData.size());

        /*
         * throw exception if any charge payment fails.
         */
        if (errorMsg.length() > 0) { throw new JobExecutionException(errorMsg.toString()); }
    }
View Full Code Here

                                .transferType().getValue(), accountTransferDetails, null, null, null, null, fromSavingsAccount,
                        isRegularTransaction);
                transferAmount(sb, accountTransferDTO, data.getId());
            }
        }
        if (sb.length() > 0) { throw new JobExecutionException(sb.toString()); }

    }
View Full Code Here

                sb.append("failed to add accural transaction for repayment with id " + accrualData.getRepaymentScheduleId()
                        + " with message " + realCause.getMessage());
            }
        }

        if (sb.length() > 0) { throw new JobExecutionException(sb.toString()); }
    }
View Full Code Here

    @Override
    @CronTarget(jobName = JobName.ADD_PERIODIC_ACCRUAL_ENTRIES)
    public void addPeriodicAccruals() throws JobExecutionException {
        String errors = addPeriodicAccruals(LocalDate.now());
        if (errors.length() > 0) { throw new JobExecutionException(errors); }
    }
View Full Code Here

TOP

Related Classes of org.mifosplatform.infrastructure.jobs.exception.JobExecutionException

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.