Tip: Click lines to highlight, hold ctrl/cmd to multi-select
http://codedumper.com/ebeco (1-Jul @ 20:36)
Syntax Highlighted Code
- public List<AssignmentLE> getAssignments(AssignmentFilterCriteria filter) throws AppException
- {
- String METHOD_NAME = "getAssignedLegalEntities(AssignmentFilterCriteria)";
- log.debug(METHOD_NAME + "enter");
- ArrayList<AssignmentLE> list = null;
- Connection con = null;
- try
- {
- con = repository.getConnection();
- list = getAssignments(filter, con);
- }
- {
- throw new AppException(new AppErrorMessage(com.tanval.tbbsr.util.MessageConstants.E0021E_CODE, "Error Occured while retrieving assignments " + e.getMessage()) );
- }
- finally
- {
- repository.closeHandle(con);
- }
- log.debug(METHOD_NAME + "Exit");
- return list;
- }
Plain Code
public List<AssignmentLE> getAssignments(AssignmentFilterCriteria filter) throws AppException
{
String METHOD_NAME = "getAssignedLegalEntities(AssignmentFilterCriteria)";
log.debug(METHOD_NAME + "enter");
ArrayList<AssignmentLE> list = null;
Connection con = null;
try
{
con = repository.getConnection();
list = getAssignments(filter, con);
}
catch (Exception e)
{
throw new AppException(new AppErrorMessage(com.tanval.tbbsr.util.MessageConstants.E0021E_CODE, "Error Occured while retrieving assignments " + e.getMessage()) );
}
finally
{
repository.closeHandle(con);
}
log.debug(METHOD_NAME + "Exit");
return list;
}