From 8e2104b5d34c95a344bc00f47703a74f523605ac Mon Sep 17 00:00:00 2001 From: Salman Manoe Date: Fri, 31 May 2024 08:55:54 +0700 Subject: [PATCH] Update logbook task scheduler Penambahan scheduler detail rekapitulasi untuk logbook dokter dan terapis --- .../dao/DetailLogbookDokterDao.java | 18 +- .../medifirst2000/dao/LogbookDokterDao.java | 13 + .../medifirst2000/dao/LogbookRemunDao.java | 24 + .../dao/MapPegawaiJabatanToUnitKerjaDao.java | 6 + .../medifirst2000/dao/SubUnitKerjaDao.java | 4 + .../service/IndekKinerjaService.java | 2 - .../service/LogbookRemunService.java | 14 + .../service/impl/IndekKinerjaServiceImpl.java | 63 -- .../service/impl/LogbookRemunServiceImpl.java | 52 ++ .../impl/PelayananPasienServiceImpl.java | 4 +- .../main/resources/jdbc.pelayanan.properties | 2 +- .../medifirst2000/dto/LogbookDokterDto.java | 20 + .../entities/DetailLogbookDokter.java | 70 +- .../entities/JenisLayananRemunMedis.java | 41 + .../medifirst2000/entities/JenisLogbook.java | 39 + .../medifirst2000/entities/LogbookDokter.java | 100 +-- .../medifirst2000/entities/LogbookRemun.java | 55 ++ .../entities/ObatLayananTindakan.java | 6 + .../ProporsiJasaLayananRemunMedis.java | 61 ++ .../RuanganJenisLayananRemunMedis.java | 48 ++ .../task/schedule/LogbookTask.java | 375 ++++++++- .../schedule/config/ScheduleTaskConfig.java | 2 +- .../IkiDanRemunerasiController.java | 458 +++++------ .../controller/SdmController.java | 758 +++++++++--------- 24 files changed, 1479 insertions(+), 756 deletions(-) create mode 100644 jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookRemunDao.java create mode 100644 jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/LogbookRemunService.java create mode 100644 jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/LogbookRemunServiceImpl.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/dto/LogbookDokterDto.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLayananRemunMedis.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLogbook.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookRemun.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ProporsiJasaLayananRemunMedis.java create mode 100644 jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/RuanganJenisLayananRemunMedis.java diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/DetailLogbookDokterDao.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/DetailLogbookDokterDao.java index 9f2f7f6a..3e0948cc 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/DetailLogbookDokterDao.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/DetailLogbookDokterDao.java @@ -1,11 +1,21 @@ package com.jasamedika.medifirst2000.dao; -import org.springframework.data.repository.PagingAndSortingRepository; -import org.springframework.stereotype.Repository; - import com.jasamedika.medifirst2000.entities.DetailLogbookDokter; +import org.springframework.data.jpa.repository.Modifying; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.PagingAndSortingRepository; +import org.springframework.data.repository.query.Param; + +import java.sql.Date; +import java.util.List; -@Repository("DetailLogbookDokterDao") public interface DetailLogbookDokterDao extends PagingAndSortingRepository { + @Modifying + @Query(value = "delete from remun.t_logbook_dokter_detail " + "where logbook_dokter_id in (select no_rec " + + "from remun.t_logbook_dokter " + "where logbook_remun_id in (select no_rec " + + "from remun.t_logbook_remun " + "where pegawai_id in (:idPegawai) " + + "and bulan between :tglAwal and :tglAkhir))", nativeQuery = true) + void deleteByKelompokKerjaAndPeriod(@Param("idPegawai") List idPegawai, @Param("tglAwal") Date tglAwal, + @Param("tglAkhir") Date tglAkhir); } diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookDokterDao.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookDokterDao.java index f04fbd6b..fce83408 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookDokterDao.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookDokterDao.java @@ -2,6 +2,19 @@ package com.jasamedika.medifirst2000.dao; import com.jasamedika.medifirst2000.entities.LogbookDokter; import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Modifying; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; + +import java.sql.Date; +import java.util.List; public interface LogbookDokterDao extends JpaRepository { + + @Modifying + @Query(value = "delete from remun.t_logbook_dokter " + "where logbook_remun_id in (select no_rec " + + "from remun.t_logbook_remun where pegawai_id in (:idPegawai) " + + "and bulan between :tglAwal and :tglAkhir)", nativeQuery = true) + void deleteByKelompokKerjaAndPeriod(@Param("idPegawai") List idPegawai, @Param("tglAwal") Date tglAwal, + @Param("tglAkhir") Date tglAkhir); } diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookRemunDao.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookRemunDao.java new file mode 100644 index 00000000..299b616f --- /dev/null +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/LogbookRemunDao.java @@ -0,0 +1,24 @@ +package com.jasamedika.medifirst2000.dao; + +import com.jasamedika.medifirst2000.entities.LogbookRemun; +import org.springframework.data.jpa.repository.JpaRepository; +import org.springframework.data.jpa.repository.Modifying; +import org.springframework.data.jpa.repository.Query; +import org.springframework.data.repository.query.Param; + +import java.sql.Date; +import java.util.List; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 25/04/2024 + */ +public interface LogbookRemunDao extends JpaRepository { + + @Modifying + @Query(value = "delete from remun.t_logbook_remun " + "where pegawai_id in (:idPegawai) " + + "and bulan between :tglAwal and :tglAkhir", nativeQuery = true) + void deleteByKelompokKerjaAndPeriod(@Param("idPegawai") List idPegawai, @Param("tglAwal") Date tglAwal, + @Param("tglAkhir") Date tglAkhir); +} diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/MapPegawaiJabatanToUnitKerjaDao.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/MapPegawaiJabatanToUnitKerjaDao.java index cbec73c4..583836e7 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/MapPegawaiJabatanToUnitKerjaDao.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/MapPegawaiJabatanToUnitKerjaDao.java @@ -10,6 +10,7 @@ import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; import java.util.Optional; +import java.util.Set; /** * Repository class for AbsensiPegawai @@ -502,4 +503,9 @@ public interface MapPegawaiJabatanToUnitKerjaDao extends CrudRepository findPegawaiIdByUnitKerjaIdAndJabatanId(@Param("unitKerjaId") List unitKerjaId, @Param("jabatanId") List jabatanId); + + @Query("select mj.pegawaiId from MapPegawaiJabatanToUnitKerja mj " + + "where mj.statusEnabled is true " + + "and mj.subUnitKerjaPegawaiId in (:subUnitKerjaIdIn)") + Set findPegawaiIdBySubUnitKerjaIn(@Param("subUnitKerjaIdIn") List subUnitKerjaIdIn); } diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/SubUnitKerjaDao.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/SubUnitKerjaDao.java index d9dedf2a..2fc1e7b6 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/SubUnitKerjaDao.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/dao/SubUnitKerjaDao.java @@ -77,4 +77,8 @@ public interface SubUnitKerjaDao extends JpaRepository> findAllKelompokKerjaMedis(); + @Query("select distinct skj.id " + "from SubUnitKerjaPegawai skj " + + "inner join skj.unitKerja ukj " + "where skj.statusEnabled is true " + "and lower(skj.name) like 'kk%' " + + "order by skj.id") + List findAllKelompokKerjaMedisId(); } diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/IndekKinerjaService.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/IndekKinerjaService.java index 631e0e93..b9c8879e 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/IndekKinerjaService.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/IndekKinerjaService.java @@ -84,8 +84,6 @@ public interface IndekKinerjaService { List> getAllTindakanDokter(String periode, Integer idPegawai); - void generateAllTindakanDokter(); - List> findPatientDetailForEveryTindakan(Integer idProduk, Integer idKelas, Integer idPegawai, String tgl, Boolean ffs); diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/LogbookRemunService.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/LogbookRemunService.java new file mode 100644 index 00000000..69d70be1 --- /dev/null +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/LogbookRemunService.java @@ -0,0 +1,14 @@ +package com.jasamedika.medifirst2000.service; + +import java.util.Date; +import java.util.Set; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 25/04/2024 + */ +public interface LogbookRemunService { + + void deleteByPeriod(Set idPegawai, Date tglAwal, Date tglAkhir); +} diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java index 9798f305..a59ab48b 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/IndekKinerjaServiceImpl.java @@ -109,12 +109,6 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK @Autowired private RevIndekKinerjaDao revIndekKinerjaDao; - @Autowired - private LogbookDokterDao logbookDokterDao; - - @Autowired - private DetailLogbookDokterDao detailLogbookDokterDao; - @Autowired private PelayananPasienDetailDao pelayananPasienDetailDao; @@ -1269,63 +1263,6 @@ public class IndekKinerjaServiceImpl extends BaseVoServiceImpl implements IndekK listRanap); } - @Override - @Transactional - public void generateAllTindakanDokter() { - SimpleDateFormat monthFormat = new SimpleDateFormat("yyyy-MM"); - - List allPegawaiKedokteran = pegawaiDao.getPegawaiKedokteran(); - Calendar cal = Calendar.getInstance(); - cal.add(Calendar.MONTH, -1); - String periode = monthFormat.format(cal.getTime()); - for (Integer idPegawai : allPegawaiKedokteran) { - List> allTindakanDokter = getAllTindakanDokter(periode, idPegawai); - for (Map map : allTindakanDokter) { - LogbookDokter logbookDokter = new LogbookDokter(); - - logbookDokter.setIdPegawai(idPegawai); - logbookDokter.setIdProduk((Integer) map.get("idProduk")); - logbookDokter.setNamaProduk((String) map.get("namaProduk")); - logbookDokter.setHargaKelas1((Double) map.get("hargaKelas1")); - logbookDokter.setTotalTindakan((Long) map.get("totalTindakan")); - logbookDokter.setDetailId((Integer) map.get("detailId")); - logbookDokter.setNamaKelas((String) map.get("namaKelas")); - logbookDokter.setIdKelas((Integer) map.get("idKelas")); - logbookDokter.setPoinQty((Double) map.get("pointQty")); - logbookDokter.setPoin((Double) map.get("poin")); - logbookDokter.setIdJenisPelaksana((Integer) map.get("idJenisPelaksana")); - logbookDokter.setHarga((Double) map.get("harga")); - logbookDokter.setDetailJenisProduk((String) map.get("detailJenisProduk")); - logbookDokter.setStatusEnabled(true); - // kode profile rumah sakit - logbookDokter.setKdProfile((short) 0); - logbookDokterDao.save(logbookDokter); - - @SuppressWarnings("unchecked") - List> datas = (List>) map.get("datas"); - for (Map data : datas) { - DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); - SimpleDateFormat tanggalFormat = new SimpleDateFormat("yyyy-MM-dd"); - Date tanggal; - try { - tanggal = tanggalFormat.parse(data.get("tanggal").toString()); - } catch (ParseException e) { - throw new ServiceVOException(e.getMessage()); - } - - detailLogbookDokter.setCount((Long) data.get("count")); - detailLogbookDokter.setHarga((Double) data.get("harga")); - detailLogbookDokter.setTanggal(tanggal); - detailLogbookDokter.setLogbookDokter(logbookDokter); - detailLogbookDokter.setStatusEnabled(true); - detailLogbookDokter.setKdProfile((short) 0); - detailLogbookDokterDao.save(detailLogbookDokter); - } - - } - } - } - @Override @Transactional public List> getAllTindakanDokter(String periode, Integer idPegawai) { diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/LogbookRemunServiceImpl.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/LogbookRemunServiceImpl.java new file mode 100644 index 00000000..54266ac0 --- /dev/null +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/LogbookRemunServiceImpl.java @@ -0,0 +1,52 @@ +package com.jasamedika.medifirst2000.service.impl; + +import com.jasamedika.medifirst2000.dao.DetailLogbookDokterDao; +import com.jasamedika.medifirst2000.dao.LogbookDokterDao; +import com.jasamedika.medifirst2000.dao.LogbookRemunDao; +import com.jasamedika.medifirst2000.service.LogbookRemunService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import java.text.SimpleDateFormat; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; +import java.util.Set; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 25/04/2024 + */ +@Service +@Transactional +public class LogbookRemunServiceImpl implements LogbookRemunService { + private static final Logger LOGGER = LoggerFactory.getLogger(LogbookRemunServiceImpl.class); + + @Autowired + private LogbookRemunDao logbookRemunDao; + + @Autowired + private LogbookDokterDao logbookDokterDao; + + @Autowired + private DetailLogbookDokterDao detailLogbookDokterDao; + + @Override + public void deleteByPeriod(Set idPegawai, Date tglAwal, Date tglAkhir) { + LOGGER.info("Start deleting previous data"); + + List listIdPegawai = new ArrayList<>(idPegawai); + SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + java.sql.Date sqlTglAwal = new java.sql.Date(tglAwal.getTime()); + java.sql.Date sqlTglAkhir = new java.sql.Date(tglAkhir.getTime()); + detailLogbookDokterDao.deleteByKelompokKerjaAndPeriod(listIdPegawai, sqlTglAwal, sqlTglAkhir); + logbookDokterDao.deleteByKelompokKerjaAndPeriod(listIdPegawai, sqlTglAwal, sqlTglAkhir); + logbookRemunDao.deleteByKelompokKerjaAndPeriod(listIdPegawai, sqlTglAwal, sqlTglAkhir); + + LOGGER.info("Deleting previous data successfully...!"); + } +} diff --git a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/PelayananPasienServiceImpl.java b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/PelayananPasienServiceImpl.java index fb047b27..8c939031 100644 --- a/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/PelayananPasienServiceImpl.java +++ b/jasamedika-business/src/main/java/com/jasamedika/medifirst2000/service/impl/PelayananPasienServiceImpl.java @@ -1103,6 +1103,7 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel */ List> listDataLuarJamKerja = new ArrayList<>(); for (Map d : listRatedPay) { + d.put("isJamKerja", false); if (CommonUtil.isNotNullOrEmpty(d.get("tglPelayanan"))) { LocalDate tglPelayanan = ((Date) d.get("tglPelayanan")).toInstant().atZone(ZoneId.systemDefault()) .toLocalDate(); @@ -1116,7 +1117,6 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel .contains(Integer.parseInt(d.get("idKelompokPasien").toString())))) if (CommonUtil.isNullOrEmpty(j.get("jamMasuk"))) { if (tglPelayanan.isEqual(tglMasuk)) { - d.put("isJamKerja", false); if ("Reguler".equals(d.get("jenisRuangan").toString())) d.put("isJamKerja", true); listDataLuarJamKerja.add(d); @@ -1129,7 +1129,6 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel LocalDateTime tglJamPulang = LocalDateTime.of(tglMasuk, jamPulang); if ((tglPelayanan.isEqual(tglMasuk) && tglJamPelayanan.isBefore(tglJamMasuk)) || (tglPelayanan.isEqual(tglMasuk) && tglJamPelayanan.isAfter(tglJamPulang))) { - d.put("isJamKerja", false); if ("Reguler".equals(d.get("jenisRuangan").toString())) d.put("isJamKerja", true); listDataLuarJamKerja.add(d); @@ -1141,7 +1140,6 @@ public class PelayananPasienServiceImpl extends BaseVoServiceImpl implements Pel /* * Tanggal pelayanan null akan dianggap sebagai luar jam kerja */ - d.put("isJamKerja", false); if ("Reguler".equals(d.get("jenisRuangan").toString())) d.put("isJamKerja", true); listDataLuarJamKerja.add(d); diff --git a/jasamedika-config/src/main/resources/jdbc.pelayanan.properties b/jasamedika-config/src/main/resources/jdbc.pelayanan.properties index af4e8839..525eb8a5 100644 --- a/jasamedika-config/src/main/resources/jdbc.pelayanan.properties +++ b/jasamedika-config/src/main/resources/jdbc.pelayanan.properties @@ -5,7 +5,7 @@ hibernate.hbm2ddl = none hibernate.format_sql = false hibernate.show_sql = false -hikari.config.maximum.pool.size = 25 +hikari.config.maximum.pool.size = 75 # DB Production jdbc.url = jdbc:postgresql://psql1.rsabhk.lan:5432/rsab_hk_production diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/dto/LogbookDokterDto.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/dto/LogbookDokterDto.java new file mode 100644 index 00000000..a763c6cb --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/dto/LogbookDokterDto.java @@ -0,0 +1,20 @@ +package com.jasamedika.medifirst2000.dto; + +import lombok.Getter; +import lombok.Setter; + +import java.util.ArrayList; +import java.util.List; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 26/04/2024 + */ +@Getter +@Setter +public class LogbookDokterDto { + + private String noRec; + private List pelayananPasienPetugasId = new ArrayList<>(); +} diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/DetailLogbookDokter.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/DetailLogbookDokter.java index d0ea27ab..42e0473a 100644 --- a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/DetailLogbookDokter.java +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/DetailLogbookDokter.java @@ -1,35 +1,73 @@ package com.jasamedika.medifirst2000.entities; -import com.jasamedika.medifirst2000.base.BaseTransaction; +import com.jasamedika.medifirst2000.base.BaseActive; import com.jasamedika.medifirst2000.helper.Caption; import lombok.Getter; import lombok.Setter; +import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.math.BigDecimal; import java.util.Date; +import static javax.persistence.FetchType.LAZY; + @Getter @Setter @Entity -@Table(name = "DetailLogbookDokter_T") -public class DetailLogbookDokter extends BaseTransaction { +@Table(name = "t_logbook_dokter_detail", schema = "remun") +public class DetailLogbookDokter extends BaseActive { - private static final long serialVersionUID = 8003361970314967209L; + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid") + @Column(name = "no_rec", columnDefinition = "CHAR(32)", unique = true) + protected String noRec; - @Column(name = "count") - @Caption(value = "Count") - private Long count; + @Column(name = "jenis_pelaksana") + @Caption(value = "Jenis Pelaksana") + private String jenisPelaksana; - @Column(name = "harga") - @Caption(value = "Harga") - private Double harga; + @Column(name = "jumlah_tindakan") + @Caption(value = "Jumlah Tindakan") + private Integer jumlahTindakan; - @Column(name = "tanggal") - @Caption(value = "Tanggal") - private Date tanggal; + @Column(name = "tarif") + @Caption(value = "Tarif") + private BigDecimal tarif; - @ManyToOne(fetch = FetchType.LAZY) - @Caption(value = "Object Logbook Dokter") - @JoinColumn(name = "ObjectLogbookDokterFK") + @Column(name = "diskon") + @Caption(value = "Diskon") + private BigDecimal diskon; + + @Column(name = "kelas") + @Caption(value = "Kelas") + private String kelas; + + @Column(name = "ruangan") + @Caption(value = "Ruangan") + private String ruangan; + + @Column(name = "nama_pasien") + @Caption(value = "Nama Pasien") + private String namaPasien; + + @Column(name = "no_rekam_medis") + @Caption(value = "No Rekam Medis") + private String noRekamMedis; + + @Column(name = "no_registrasi") + @Caption(value = "No Registrasi") + private String noRegistrasi; + + @Column(name = "tanggal_pelayanan") + @Caption(value = "Tanggal Pelayanan") + private Date tanggalPelayanan; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "logbook_dokter_id") + @NotNull(message = "Logbook dokter tidak boleh kosong") + @Caption(value = "Logbook Dokter") private LogbookDokter logbookDokter; } diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLayananRemunMedis.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLayananRemunMedis.java new file mode 100644 index 00000000..b27b4fe5 --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLayananRemunMedis.java @@ -0,0 +1,41 @@ +package com.jasamedika.medifirst2000.entities; + +import com.jasamedika.medifirst2000.base.BaseActive; +import com.jasamedika.medifirst2000.helper.Caption; +import lombok.Getter; +import lombok.Setter; +import org.hibernate.validator.constraints.NotBlank; + +import javax.persistence.*; +import javax.validation.constraints.Size; + +import static javax.persistence.GenerationType.SEQUENCE; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 24/04/2024 + */ +@Getter +@Setter +@Entity +@Table(name = "m_jenis_layanan_remun_medis", schema = "remun") +public class JenisLayananRemunMedis extends BaseActive { + + @Id + @GeneratedValue(strategy = SEQUENCE, generator = "sg_jenis_layanan_remun_medis") + @SequenceGenerator(name = "sg_jenis_layanan_remun_medis", schema = "remun", sequenceName = "remun.m_jenis_layanan_remun_medis_seq", allocationSize = 1) + @Column(name = "id", columnDefinition = "bigint default nextval('remun.m_jenis_layanan_remun_medis_seq'::regclass)") + protected Long id; + + /** + * Jenis Layanan Remunerasi : Konsultasi Poli, Visite Ranap, Penunjang Rehab + * Medik, Penunjang Radiologi, Penunjang PK, Penunjang PA, Tindakan + * Non-Operatif, Tindakan Operatif Lengkap, Tindakan Operatif Non Co-op + */ + @Column(name = "jenis_layanan", length = 150, unique = true, nullable = false) + @Size(max = 150, message = "Jenis layanan maksimal {max} karakter") + @NotBlank(message = "Jenis layanan tidak boleh kosong") + @Caption("Jenis Layanan") + private String jenisLayanan; +} diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLogbook.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLogbook.java new file mode 100644 index 00000000..93bb617d --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/JenisLogbook.java @@ -0,0 +1,39 @@ +package com.jasamedika.medifirst2000.entities; + +import com.jasamedika.medifirst2000.base.BaseActive; +import com.jasamedika.medifirst2000.helper.Caption; +import lombok.Getter; +import lombok.Setter; +import org.hibernate.validator.constraints.NotBlank; + +import javax.persistence.*; +import javax.validation.constraints.Size; + +import static javax.persistence.GenerationType.SEQUENCE; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 24/04/2024 + */ +@Getter +@Setter +@Entity +@Table(name = "m_jenis_logbook", schema = "remun") +public class JenisLogbook extends BaseActive { + + @Id + @GeneratedValue(strategy = SEQUENCE, generator = "sg_jenis_logbook") + @SequenceGenerator(name = "sg_jenis_logbook", schema = "remun", sequenceName = "remun.m_jenis_logbook_seq", allocationSize = 1) + @Column(name = "id", columnDefinition = "bigint default nextval('remun.m_jenis_logbook_seq'::regclass)") + protected Long id; + + /** + * Jenis Logbook : JKN, NON-JKN, FIXED-PAY, KLAIM MPP + */ + @Column(name = "jenis_logbook", length = 150, unique = true, nullable = false) + @Size(max = 150, message = "Jenis logbook maksimal {max} karakter") + @NotBlank(message = "Jenis logbook tidak boleh kosong") + @Caption("Jenis Logbook") + private String jenisLogbook; +} diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookDokter.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookDokter.java index 87a56ecf..58e7b5d4 100644 --- a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookDokter.java +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookDokter.java @@ -1,73 +1,81 @@ package com.jasamedika.medifirst2000.entities; -import com.jasamedika.medifirst2000.base.BaseTransaction; +import com.jasamedika.medifirst2000.base.BaseActive; import com.jasamedika.medifirst2000.helper.Caption; import lombok.Getter; import lombok.Setter; +import org.hibernate.annotations.GenericGenerator; import javax.persistence.*; +import javax.validation.constraints.NotNull; +import java.math.BigDecimal; import java.util.Set; +import static javax.persistence.CascadeType.ALL; +import static javax.persistence.FetchType.LAZY; + @Getter @Setter @Entity -@Table(name = "LogbookDokter_T") -public class LogbookDokter extends BaseTransaction { +@Table(name = "t_logbook_dokter", schema = "remun") +public class LogbookDokter extends BaseActive { - private static final long serialVersionUID = -3993902298828376060L; + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid") + @Column(name = "no_rec", columnDefinition = "CHAR(32)", unique = true) + protected String noRec; - @Column(name = "objectProdukFk") + @Column(name = "jenis_logbook") + @Caption(value = "Jenis Logbook") + private String jenisLogbook; + + @Column(name = "produk_id") @Caption(value = "Id Produk") - private Integer idProduk; + private Integer produkId; - @Column(name = "objectPegawaiFk") - @Caption(value = "Id Pegawai") - private Integer idPegawai; + @Column(name = "produk") + @Caption(value = "Produk") + private String produk; - @Column(name = "objectDetailJenisProdukFk") - @Caption(value = "Id Detail Jenis Produk") - private Integer detailId; + @Column(name = "jenis_ruangan") + @Caption(value = "Jenis Ruangan") + private String jenisRuangan; - @Column(name = "detailJenisProduk") - @Caption(value = "Detail Jenis Produk") - private String detailJenisProduk; + @Column(name = "kelompok_pasien") + @Caption(value = "Kelompok Pasien") + private String kelompokPasien; - @Column(name = "harga") - @Caption(value = "Harga") - private Double harga; + @Column(name = "tarif") + @Caption(value = "Tarif") + private BigDecimal tarif; - @Column(name = "hargaKelasSatu") - @Caption(value = "Harga Kelas 1") - private Double hargaKelas1; + @Column(name = "persen_jasa") + @Caption(value = "Persentase Jasa") + private Double persenJasa; - @Column(name = "objectJenisPelaksanaFk") - @Caption(value = "Id Jenis Pelaksana") - private Integer idJenisPelaksana; + @Column(name = "remun_tindakan") + @Caption(value = "Remun / Tindakan") + private BigDecimal remunTindakan; - @Column(name = "objectKelasFk") - @Caption(value = "Id Kelas") - private Integer idKelas; + @Column(name = "keterangan") + @Caption(value = "Keterangan") + private String keterangan; - @Column(name = "namaKelas") - @Caption(value = "Nama Kelas") - private String namaKelas; - - @Column(name = "namaProduk") - @Caption(value = "Nama Produk") - private String namaProduk; - - @Column(name = "poin") - @Caption(value = "Poin") - private Double poin; - - @Column(name = "poinQty") - @Caption(value = "Jumlah Poin") - private Double poinQty; - - @Column(name = "totalTindakan") + @Column(name = "total_tindakan") @Caption(value = "Total Tindakan") - private Long totalTindakan; + private Integer totalTindakan; - @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "logbookDokter") + @Column(name = "total_remun_tindakan") + @Caption(value = "Total Remunerasi") + private BigDecimal totalRemunTindakan; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "logbook_remun_id") + @NotNull(message = "Logbook remun tidak boleh kosong") + @Caption(value = "Logbook Remun") + private LogbookRemun logbookRemun; + + @OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "logbookDokter") private Set detailLogbookDokter; } diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookRemun.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookRemun.java new file mode 100644 index 00000000..9aa74ef0 --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/LogbookRemun.java @@ -0,0 +1,55 @@ +package com.jasamedika.medifirst2000.entities; + +import com.jasamedika.medifirst2000.base.BaseActive; +import com.jasamedika.medifirst2000.helper.Caption; +import lombok.Getter; +import lombok.Setter; +import org.hibernate.annotations.GenericGenerator; + +import javax.persistence.*; +import java.util.Date; +import java.util.Set; + +import static javax.persistence.CascadeType.ALL; +import static javax.persistence.FetchType.LAZY; +import static javax.persistence.TemporalType.DATE; +import static javax.persistence.TemporalType.TIMESTAMP; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 25/04/2024 + */ +@Getter +@Setter +@Entity +@Table(name = "t_logbook_remun", schema = "remun") +public class LogbookRemun extends BaseActive { + + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid") + @Column(name = "no_rec", columnDefinition = "CHAR(32)", unique = true) + protected String noRec; + + @Column(name = "pegawai_id") + @Caption(value = "Id Pegawai") + private Integer pegawaiId; + + @Column(name = "pegawai") + @Caption(value = "Pegawai") + private String pegawai; + + @Column(name = "bulan") + @Caption(value = "Bulan") + @Temporal(DATE) + private Date bulan; + + @Column(name = "tanggal_tarik_data") + @Caption(value = "Tanggal Tarik Data") + @Temporal(TIMESTAMP) + private Date tanggalTarikData; + + @OneToMany(cascade = ALL, fetch = LAZY, mappedBy = "logbookRemun") + private Set logbookDokter; +} diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ObatLayananTindakan.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ObatLayananTindakan.java index 9b604455..af7a3c68 100644 --- a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ObatLayananTindakan.java +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ObatLayananTindakan.java @@ -54,4 +54,10 @@ public class ObatLayananTindakan extends BaseTransaction implements Serializable @JoinColumn(name = "diubah_pengguna_id") @Caption(value = "Diubah oleh pegawai") private Pegawai diubahOleh; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "ruanganfarmasifk", nullable = false) + @NotNull(message = "Ruangan farmasi Tidak boleh Kosong") + @Caption(value = "Ruangan Farmasi") + private Ruangan ruanganFarmasi; } diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ProporsiJasaLayananRemunMedis.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ProporsiJasaLayananRemunMedis.java new file mode 100644 index 00000000..c374adde --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/ProporsiJasaLayananRemunMedis.java @@ -0,0 +1,61 @@ +package com.jasamedika.medifirst2000.entities; + +import com.jasamedika.medifirst2000.base.BaseActive; +import com.jasamedika.medifirst2000.helper.Caption; +import lombok.Getter; +import lombok.Setter; +import org.hibernate.annotations.GenericGenerator; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +import static javax.persistence.FetchType.LAZY; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 24/04/2024 + */ +@Getter +@Setter +@Entity +@Table(name = "m_proporsi_jasa_layanan_remun_medis", schema = "remun") +public class ProporsiJasaLayananRemunMedis extends BaseActive { + + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid") + @Column(name = "no_rec", columnDefinition = "CHAR(32)", unique = true) + protected String noRec; + + @NotNull(message = "Persentase tidak boleh kosong") + @Caption(value = "Persentase") + private Double persentase; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "id_jenis_logbook", nullable = false) + @NotNull(message = "Jenis logbook tidak boleh kosong") + @Caption(value = "Jenis Logbook") + private JenisLogbook jenisLogbook; + + @Column(name = "id_jenis_logbook", insertable = false, updatable = false, nullable = false) + private Long jenisLogbookId; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "id_jenis_petugas_pelaksana") + @NotNull(message = "Jenis petugas pelaksana tidak boleh kosong") + @Caption(value = "Jenis Petugas Pelaksana") + private JenisPetugasPelaksana jenisPetugasPelaksana; + + @Column(name = "id_jenis_petugas_pelaksana", insertable = false, updatable = false, nullable = false) + private Integer jenisPetugasPelaksanaId; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "id_jenis_layanan", nullable = false) + @NotNull(message = "Jenis layanan tidak boleh kosong") + @Caption(value = "Jenis Layanan Remun Medis") + private JenisLayananRemunMedis jenisLayanan; + + @Column(name = "id_jenis_layanan", insertable = false, updatable = false, nullable = false) + private Long jenisLayananId; +} diff --git a/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/RuanganJenisLayananRemunMedis.java b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/RuanganJenisLayananRemunMedis.java new file mode 100644 index 00000000..6a212ba5 --- /dev/null +++ b/jasamedika-domain/src/main/java/com/jasamedika/medifirst2000/entities/RuanganJenisLayananRemunMedis.java @@ -0,0 +1,48 @@ +package com.jasamedika.medifirst2000.entities; + +import com.jasamedika.medifirst2000.base.BaseActive; +import com.jasamedika.medifirst2000.helper.Caption; +import lombok.Getter; +import lombok.Setter; +import org.hibernate.annotations.GenericGenerator; + +import javax.persistence.*; +import javax.validation.constraints.NotNull; + +import static javax.persistence.FetchType.LAZY; + +/** + * @author salmanoe + * @version 1.0.0 + * @since 24/04/2024 + */ +@Getter +@Setter +@Entity +@Table(name = "m_ruangan_jenis_layanan_remun_medis", schema = "remun") +public class RuanganJenisLayananRemunMedis extends BaseActive { + + @Id + @GeneratedValue(generator = "uuid") + @GenericGenerator(name = "uuid", strategy = "uuid") + @Column(name = "no_rec", columnDefinition = "CHAR(32)", unique = true) + protected String noRec; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "id_ruangan", nullable = false) + @NotNull(message = "Ruangan tidak boleh kosong") + @Caption(value = "Ruangan") + private Ruangan ruangan; + + @Column(name = "id_ruangan", insertable = false, updatable = false, nullable = false) + private Integer ruanganId; + + @ManyToOne(fetch = LAZY) + @JoinColumn(name = "id_jenis_layanan", nullable = false) + @NotNull(message = "Jenis layanan tidak boleh kosong") + @Caption(value = "Jenis Layanan Remun Medis") + private JenisLayananRemunMedis jenisLayanan; + + @Column(name = "id_jenis_layanan", insertable = false, updatable = false, nullable = false) + private Long jenisLayananId; +} diff --git a/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/LogbookTask.java b/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/LogbookTask.java index c6795eae..49624365 100644 --- a/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/LogbookTask.java +++ b/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/LogbookTask.java @@ -1,10 +1,8 @@ package com.jasamedika.medifirst2000.task.schedule; -import com.jasamedika.medifirst2000.dao.PelayananPasienPetugasDao; -import com.jasamedika.medifirst2000.dao.RekapLogbookDokterDao; -import com.jasamedika.medifirst2000.entities.KelompokPasien; -import com.jasamedika.medifirst2000.entities.Pegawai; -import com.jasamedika.medifirst2000.entities.RekapLogbookDokter; +import com.jasamedika.medifirst2000.dao.*; +import com.jasamedika.medifirst2000.entities.*; +import com.jasamedika.medifirst2000.service.LogbookRemunService; import com.jasamedika.medifirst2000.service.PelayananPasienService; import com.jasamedika.medifirst2000.service.RekapLogbookDokterService; import com.jasamedika.medifirst2000.util.DateUtil; @@ -14,11 +12,17 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; +import java.math.BigDecimal; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.ZoneId; import java.util.*; +import java.util.concurrent.CountDownLatch; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +import static com.jasamedika.medifirst2000.constants.Master.Profesi.TERAPI; /** * @author salmanoe @@ -41,9 +45,30 @@ public class LogbookTask { @Autowired private RekapLogbookDokterService rekapLogbookDokterService; + @Autowired + private LogbookRemunService logbookRemunService; + + @Autowired + private LogbookRemunDao logbookRemunDao; + + @Autowired + private LogbookDokterDao logbookDokterDao; + + @Autowired + private DetailLogbookDokterDao detailLogbookDokterDao; + + @Autowired + private MapPegawaiJabatanToUnitKerjaDao mapPegawaiJabatanToUnitKerjaDao; + + @Autowired + private SubUnitKerjaDao subUnitKerjaDao; + + @Autowired + private MapJabatanProfesiDao mapJabatanProfesiDao; + @Scheduled(cron = "0 0 0 1-6 * ?") public void saveRekapLogbookDokter() { - LOGGER.info("Simpan rekapitulasi logbook dokter"); + LOGGER.info("Start simpan rekapitulasi logbook dokter"); LocalDate localDate = LocalDate.now().minusMonths(1); Date date = Date.from(localDate.atStartOfDay(ZoneId.systemDefault()).toInstant()); @@ -168,5 +193,343 @@ public class LogbookTask { } }); rekapLogbookDokterDao.save(models); + + LOGGER.info("Simpan rekapitulasi logbook dokter berhasil...!"); + } + + @Scheduled(cron = "0 0 0 1-6 * ?") + public void saveRekapDetailLogbookDokter() { + LOGGER.info("Start simpan rekapitulasi detail logbook dokter"); + + LocalDate localDate = LocalDate.now().minusMonths(1); + Date date = Date.from(localDate.atStartOfDay(ZoneId.systemDefault()).toInstant()); + Date tglAwal = DateUtil.startMonth(date); + Date tglAkhir = DateUtil.endMonth(date); + List subUnitKerjaIn = subUnitKerjaDao.findAllKelompokKerjaMedisId(); + Set idPegawaiKelompokKerja = mapPegawaiJabatanToUnitKerjaDao + .findPegawaiIdBySubUnitKerjaIn(subUnitKerjaIn); + List terapisRehabMedik = mapJabatanProfesiDao.findIdPegawaiByProfesiIn(Arrays.asList(TERAPI)); + idPegawaiKelompokKerja.addAll(terapisRehabMedik); + if (!idPegawaiKelompokKerja.isEmpty()) { + // Delete untuk pembaharuan data + logbookRemunService.deleteByPeriod(idPegawaiKelompokKerja, tglAwal, tglAkhir); + } + saveRekapDetailLogbookDokter(idPegawaiKelompokKerja, date); + } + + private void saveRekapDetailLogbookDokter(Set idPegawaiKelompokKerja, Date date) { + DateFormat df = new SimpleDateFormat("yyyy-MM"); + String bulan = df.format(date); + ExecutorService executorService = Executors.newFixedThreadPool(50); + CountDownLatch latch = new CountDownLatch(50); + try { + for (Integer idPegawai : idPegawaiKelompokKerja) { + executorService.execute(() -> { + LOGGER.info("Simpan rekapitulasi detail logbook dokter id {}", idPegawai); + + LogbookRemun logbookRemun = new LogbookRemun(); + logbookRemun.setKdProfile((short) 0); + logbookRemun.setStatusEnabled(true); + logbookRemun.setPegawaiId(idPegawai); + logbookRemun.setBulan(date); + logbookRemun.setTanggalTarikData(new Date()); + LogbookRemun savedRemun = logbookRemunDao.save(logbookRemun); + { + Map kinerjaDokter = pelayananPasienService.logbookRemunTarifDokter(idPegawai, + bulan); + List> remun = (List>) kinerjaDokter.get("data"); + for (Map map : remun) { + List listNorecPelayananPasienPetugas = new ArrayList<>(); + { + List> detail = (List>) map.get("detail"); + for (Map d : detail) + listNorecPelayananPasienPetugas.addAll((List) d.get("norecs")); + } + LogbookDokter logbookDokter = new LogbookDokter(); + logbookDokter.setKdProfile((short) 0); + logbookDokter.setStatusEnabled(true); + logbookDokter.setJenisLogbook("JKN"); + logbookDokter.setKelompokPasien(map.get("kelompokPasien").toString()); + logbookDokter.setKeterangan(map.get("keterangan").toString()); + logbookDokter.setPersenJasa( + Double.parseDouble(map.get("persenJasa").toString().replace("%", ""))); + logbookDokter.setProduk(map.get("namaProduk").toString()); + logbookDokter.setProdukId(Integer.parseInt(map.get("idProduk").toString())); + double hargaJasa = Double.parseDouble(map.get("hargaJasa").toString()); + logbookDokter.setRemunTindakan(BigDecimal.valueOf(hargaJasa)); + logbookDokter + .setTarif(BigDecimal.valueOf(Double.parseDouble(map.get("hargaJual").toString()))); + int jumlah = Double.valueOf(map.get("jumlah").toString()).intValue(); + logbookDokter.setTotalRemunTindakan(BigDecimal.valueOf(hargaJasa * jumlah)); + logbookDokter.setTotalTindakan(jumlah); + logbookDokter.setLogbookRemun(savedRemun); + LogbookDokter savedLogbookDokter = logbookDokterDao.save(logbookDokter); + { + List> detailLogbook = pelayananPasienService + .detailLogbookTarifDokter(idPegawai, listNorecPelayananPasienPetugas); + List listDetailLogbookDokter = new ArrayList<>(); + for (Map detail : detailLogbook) { + DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); + detailLogbookDokter.setKdProfile((short) 0); + detailLogbookDokter.setStatusEnabled(true); + detailLogbookDokter.setDiskon( + BigDecimal.valueOf(Double.parseDouble(detail.get("diskon").toString()))); + detailLogbookDokter.setJumlahTindakan( + Double.valueOf(detail.get("jumlah").toString()).intValue()); + detailLogbookDokter.setJenisPelaksana(detail.get("jenisPelaksana").toString()); + detailLogbookDokter.setKelas(detail.get("namaKelas").toString()); + detailLogbookDokter.setNamaPasien(detail.get("namaPasien").toString()); + detailLogbookDokter.setNoRegistrasi(detail.get("noRegistrasi").toString()); + detailLogbookDokter.setNoRekamMedis(detail.get("noCm").toString()); + detailLogbookDokter.setRuangan(detail.get("namaRuangan").toString()); + detailLogbookDokter + .setTanggalPelayanan(DateUtil.toDate(detail.get("tanggal").toString())); + detailLogbookDokter.setTarif( + BigDecimal.valueOf(Double.parseDouble(detail.get("hargaJual").toString()))); + detailLogbookDokter.setLogbookDokter(savedLogbookDokter); + listDetailLogbookDokter.add(detailLogbookDokter); + } + detailLogbookDokterDao.save(listDetailLogbookDokter); + } + } + } + { + List> ffs = pelayananPasienService.logbookFfsTarifDokter(idPegawai, bulan); + for (Map fee : ffs) { + List listNorecPelayananPasienPetugas = new ArrayList<>(); + { + List> detail = (List>) fee.get("detail"); + for (Map d : detail) + listNorecPelayananPasienPetugas.addAll((List) d.get("norecs")); + } + LogbookDokter logbookDokter = new LogbookDokter(); + logbookDokter.setKdProfile((short) 0); + logbookDokter.setStatusEnabled(true); + logbookDokter.setJenisLogbook("NON-JKN DALAM JAM KERJA"); + logbookDokter.setJenisRuangan(fee.get("jenisRuangan").toString()); + logbookDokter.setKelompokPasien(fee.get("kelompokPasien").toString()); + logbookDokter.setKeterangan(fee.get("keterangan").toString()); + logbookDokter.setPersenJasa( + Double.parseDouble(fee.get("persenJasa").toString().replace("%", ""))); + logbookDokter.setProduk(fee.get("namaProduk").toString()); + logbookDokter.setProdukId(Integer.parseInt(fee.get("idProduk").toString())); + double hargaJasa = Double.parseDouble(fee.get("hargaJasa").toString()); + logbookDokter.setRemunTindakan(BigDecimal.valueOf(hargaJasa)); + logbookDokter + .setTarif(BigDecimal.valueOf(Double.parseDouble(fee.get("hargaJual").toString()))); + int jumlah = Double.valueOf(fee.get("jumlah").toString()).intValue(); + logbookDokter.setTotalRemunTindakan(BigDecimal.valueOf(hargaJasa * jumlah)); + logbookDokter.setTotalTindakan(jumlah); + logbookDokter.setLogbookRemun(savedRemun); + LogbookDokter savedLogbookDokter = logbookDokterDao.save(logbookDokter); + { + List> detailLogbook = pelayananPasienService + .detailLogbookTarifDokter(idPegawai, listNorecPelayananPasienPetugas); + List listDetailLogbookDokter = new ArrayList<>(); + for (Map detail : detailLogbook) { + DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); + detailLogbookDokter.setKdProfile((short) 0); + detailLogbookDokter.setStatusEnabled(true); + detailLogbookDokter.setDiskon( + BigDecimal.valueOf(Double.parseDouble(detail.get("diskon").toString()))); + detailLogbookDokter.setJumlahTindakan( + Double.valueOf(detail.get("jumlah").toString()).intValue()); + detailLogbookDokter.setJenisPelaksana(detail.get("jenisPelaksana").toString()); + detailLogbookDokter.setKelas(detail.get("namaKelas").toString()); + detailLogbookDokter.setNamaPasien(detail.get("namaPasien").toString()); + detailLogbookDokter.setNoRegistrasi(detail.get("noRegistrasi").toString()); + detailLogbookDokter.setNoRekamMedis(detail.get("noCm").toString()); + detailLogbookDokter.setRuangan(detail.get("namaRuangan").toString()); + detailLogbookDokter + .setTanggalPelayanan(DateUtil.toDate(detail.get("tanggal").toString())); + detailLogbookDokter.setTarif( + BigDecimal.valueOf(Double.parseDouble(detail.get("hargaJual").toString()))); + detailLogbookDokter.setLogbookDokter(savedLogbookDokter); + listDetailLogbookDokter.add(detailLogbookDokter); + } + detailLogbookDokterDao.save(listDetailLogbookDokter); + } + } + } + { + List> ffs = pelayananPasienService.logbookFfsLuarTarifDokter(idPegawai, + bulan); + for (Map fee : ffs) { + List listNorecPelayananPasienPetugas = new ArrayList<>(); + { + List> detail = (List>) fee.get("detail"); + for (Map d : detail) + listNorecPelayananPasienPetugas.addAll((List) d.get("norecs")); + } + LogbookDokter logbookDokter = new LogbookDokter(); + logbookDokter.setKdProfile((short) 0); + logbookDokter.setStatusEnabled(true); + logbookDokter.setJenisLogbook("NON-JKN LUAR JAM KERJA"); + logbookDokter.setJenisRuangan(fee.get("jenisRuangan").toString()); + logbookDokter.setKelompokPasien(fee.get("kelompokPasien").toString()); + logbookDokter.setKeterangan(fee.get("keterangan").toString()); + logbookDokter.setPersenJasa( + Double.parseDouble(fee.get("persenJasa").toString().replace("%", ""))); + logbookDokter.setProduk(fee.get("namaProduk").toString()); + logbookDokter.setProdukId(Integer.parseInt(fee.get("idProduk").toString())); + double hargaJasa = Double.parseDouble(fee.get("hargaJasa").toString()); + logbookDokter.setRemunTindakan(BigDecimal.valueOf(hargaJasa)); + logbookDokter + .setTarif(BigDecimal.valueOf(Double.parseDouble(fee.get("hargaJual").toString()))); + int jumlah = Double.valueOf(fee.get("jumlah").toString()).intValue(); + logbookDokter.setTotalRemunTindakan(BigDecimal.valueOf(hargaJasa * jumlah)); + logbookDokter.setTotalTindakan(jumlah); + logbookDokter.setLogbookRemun(savedRemun); + LogbookDokter savedLogbookDokter = logbookDokterDao.save(logbookDokter); + { + List> detailLogbook = pelayananPasienService + .detailLogbookTarifDokter(idPegawai, listNorecPelayananPasienPetugas); + List listDetailLogbookDokter = new ArrayList<>(); + for (Map detail : detailLogbook) { + DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); + detailLogbookDokter.setKdProfile((short) 0); + detailLogbookDokter.setStatusEnabled(true); + detailLogbookDokter.setDiskon( + BigDecimal.valueOf(Double.parseDouble(detail.get("diskon").toString()))); + detailLogbookDokter.setJumlahTindakan( + Double.valueOf(detail.get("jumlah").toString()).intValue()); + detailLogbookDokter.setJenisPelaksana(detail.get("jenisPelaksana").toString()); + detailLogbookDokter.setKelas(detail.get("namaKelas").toString()); + detailLogbookDokter.setNamaPasien(detail.get("namaPasien").toString()); + detailLogbookDokter.setNoRegistrasi(detail.get("noRegistrasi").toString()); + detailLogbookDokter.setNoRekamMedis(detail.get("noCm").toString()); + detailLogbookDokter.setRuangan(detail.get("namaRuangan").toString()); + detailLogbookDokter + .setTanggalPelayanan(DateUtil.toDate(detail.get("tanggal").toString())); + detailLogbookDokter.setTarif( + BigDecimal.valueOf(Double.parseDouble(detail.get("hargaJual").toString()))); + detailLogbookDokter.setLogbookDokter(savedLogbookDokter); + listDetailLogbookDokter.add(detailLogbookDokter); + } + detailLogbookDokterDao.save(listDetailLogbookDokter); + } + } + } + { + List> fixedPay = pelayananPasienService.logbookFixedPayDokter(idPegawai, + bulan); + for (Map pay : fixedPay) { + List listNorecPelayananPasienPetugas = new ArrayList<>(); + { + List> detail = (List>) pay.get("detail"); + for (Map d : detail) + listNorecPelayananPasienPetugas.addAll((List) d.get("norecs")); + } + LogbookDokter logbookDokter = new LogbookDokter(); + logbookDokter.setKdProfile((short) 0); + logbookDokter.setStatusEnabled(true); + logbookDokter.setJenisLogbook("FIXED-PAY"); + logbookDokter.setJenisRuangan(pay.get("jenisRuangan").toString()); + logbookDokter.setKelompokPasien(pay.get("kelompokPasien").toString()); + logbookDokter.setKeterangan(pay.get("keterangan").toString()); + logbookDokter.setProduk(pay.get("namaProduk").toString()); + logbookDokter.setProdukId(Integer.parseInt(pay.get("idProduk").toString())); + double hargaJasa = Double.parseDouble(pay.get("hargaJasa").toString()); + logbookDokter.setRemunTindakan(BigDecimal.valueOf(hargaJasa)); + logbookDokter + .setTarif(BigDecimal.valueOf(Double.parseDouble(pay.get("hargaJual").toString()))); + int jumlah = Double.valueOf(pay.get("jumlah").toString()).intValue(); + logbookDokter.setTotalRemunTindakan(BigDecimal.valueOf(hargaJasa * jumlah)); + logbookDokter.setTotalTindakan(jumlah); + logbookDokter.setLogbookRemun(savedRemun); + LogbookDokter savedLogbookDokter = logbookDokterDao.save(logbookDokter); + { + List> detailLogbook = pelayananPasienService + .detailLogbookTarifDokter(idPegawai, listNorecPelayananPasienPetugas); + List listDetailLogbookDokter = new ArrayList<>(); + for (Map detail : detailLogbook) { + DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); + detailLogbookDokter.setKdProfile((short) 0); + detailLogbookDokter.setStatusEnabled(true); + detailLogbookDokter.setDiskon( + BigDecimal.valueOf(Double.parseDouble(detail.get("diskon").toString()))); + detailLogbookDokter.setJumlahTindakan( + Double.valueOf(detail.get("jumlah").toString()).intValue()); + detailLogbookDokter.setJenisPelaksana(detail.get("jenisPelaksana").toString()); + detailLogbookDokter.setKelas(detail.get("namaKelas").toString()); + detailLogbookDokter.setNamaPasien(detail.get("namaPasien").toString()); + detailLogbookDokter.setNoRegistrasi(detail.get("noRegistrasi").toString()); + detailLogbookDokter.setNoRekamMedis(detail.get("noCm").toString()); + detailLogbookDokter.setRuangan(detail.get("namaRuangan").toString()); + detailLogbookDokter + .setTanggalPelayanan(DateUtil.toDate(detail.get("tanggal").toString())); + detailLogbookDokter.setTarif( + BigDecimal.valueOf(Double.parseDouble(detail.get("hargaJual").toString()))); + detailLogbookDokter.setLogbookDokter(savedLogbookDokter); + listDetailLogbookDokter.add(detailLogbookDokter); + } + detailLogbookDokterDao.save(listDetailLogbookDokter); + } + } + } + { + List> klaimMpp = pelayananPasienService.logbookKlaimMppDokter(idPegawai, + bulan); + for (Map mpp : klaimMpp) { + List listNorecPelayananPasienPetugas = new ArrayList<>(); + { + List> detail = (List>) mpp.get("detail"); + for (Map d : detail) + listNorecPelayananPasienPetugas.addAll((List) d.get("norecs")); + } + LogbookDokter logbookDokter = new LogbookDokter(); + logbookDokter.setKdProfile((short) 0); + logbookDokter.setStatusEnabled(true); + logbookDokter.setJenisLogbook("KLAIM MPP"); + logbookDokter.setJenisRuangan(mpp.get("jenisRuangan").toString()); + logbookDokter.setKelompokPasien(mpp.get("kelompokPasien").toString()); + logbookDokter.setKeterangan(mpp.get("keterangan").toString()); + logbookDokter.setProduk(mpp.get("namaProduk").toString()); + logbookDokter.setProdukId(Integer.parseInt(mpp.get("idProduk").toString())); + double hargaJasa = Double.parseDouble(mpp.get("hargaJasa").toString()); + logbookDokter.setRemunTindakan(BigDecimal.valueOf(hargaJasa)); + logbookDokter + .setTarif(BigDecimal.valueOf(Double.parseDouble(mpp.get("hargaJual").toString()))); + int jumlah = Double.valueOf(mpp.get("jumlah").toString()).intValue(); + logbookDokter.setTotalRemunTindakan(BigDecimal.valueOf(hargaJasa * jumlah)); + logbookDokter.setTotalTindakan(jumlah); + logbookDokter.setLogbookRemun(savedRemun); + LogbookDokter savedLogbookDokter = logbookDokterDao.save(logbookDokter); + { + List> detailLogbook = pelayananPasienService + .detailLogbookTarifDokter(idPegawai, listNorecPelayananPasienPetugas); + List listDetailLogbookDokter = new ArrayList<>(); + for (Map detail : detailLogbook) { + DetailLogbookDokter detailLogbookDokter = new DetailLogbookDokter(); + detailLogbookDokter.setKdProfile((short) 0); + detailLogbookDokter.setStatusEnabled(true); + detailLogbookDokter.setDiskon( + BigDecimal.valueOf(Double.parseDouble(detail.get("diskon").toString()))); + detailLogbookDokter.setJumlahTindakan( + Double.valueOf(detail.get("jumlah").toString()).intValue()); + detailLogbookDokter.setJenisPelaksana(detail.get("jenisPelaksana").toString()); + detailLogbookDokter.setKelas(detail.get("namaKelas").toString()); + detailLogbookDokter.setNamaPasien(detail.get("namaPasien").toString()); + detailLogbookDokter.setNoRegistrasi(detail.get("noRegistrasi").toString()); + detailLogbookDokter.setNoRekamMedis(detail.get("noCm").toString()); + detailLogbookDokter.setRuangan(detail.get("namaRuangan").toString()); + detailLogbookDokter + .setTanggalPelayanan(DateUtil.toDate(detail.get("tanggal").toString())); + detailLogbookDokter.setTarif( + BigDecimal.valueOf(Double.parseDouble(detail.get("hargaJual").toString()))); + detailLogbookDokter.setLogbookDokter(savedLogbookDokter); + listDetailLogbookDokter.add(detailLogbookDokter); + } + detailLogbookDokterDao.save(listDetailLogbookDokter); + } + } + } + latch.countDown(); + }); + } + latch.await(); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + } } } diff --git a/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/config/ScheduleTaskConfig.java b/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/config/ScheduleTaskConfig.java index 27b8ae93..fee2b2a9 100644 --- a/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/config/ScheduleTaskConfig.java +++ b/jasamedika-pelayanan/src/main/java/com/jasamedika/medifirst2000/task/schedule/config/ScheduleTaskConfig.java @@ -21,7 +21,7 @@ public class ScheduleTaskConfig { @Bean public TaskScheduler taskScheduler() { ThreadPoolTaskScheduler threadPoolTaskScheduler = new ThreadPoolTaskScheduler(); - threadPoolTaskScheduler.setPoolSize(5); + threadPoolTaskScheduler.setPoolSize(75); threadPoolTaskScheduler.setThreadNamePrefix("PelayananThreadPoolTaskScheduler"); return threadPoolTaskScheduler; } diff --git a/jasamedika-sdm/src/main/java/com/jasamedika/medifirst2000/controller/IkiDanRemunerasiController.java b/jasamedika-sdm/src/main/java/com/jasamedika/medifirst2000/controller/IkiDanRemunerasiController.java index a2d11a14..4ebbdcab 100644 --- a/jasamedika-sdm/src/main/java/com/jasamedika/medifirst2000/controller/IkiDanRemunerasiController.java +++ b/jasamedika-sdm/src/main/java/com/jasamedika/medifirst2000/controller/IkiDanRemunerasiController.java @@ -130,11 +130,11 @@ public class IkiDanRemunerasiController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } } - @RequestMapping(value = "/generate-logbook-dokter", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) - public ResponseEntity> generateLogbookDokter(HttpServletRequest request) { - try { - indekKinerjaService.generateAllTindakanDokter(); - mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS, - getMessage(MessageResource.LABEL_SUCCESS, request)); - return RestUtil.getJsonHttptatus(HttpStatus.OK); - } catch (Exception e) { - return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR); - } - } - @RequestMapping(value = "/get-custom-uraian-kerja/{id}/{tanggal}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity> getCustomUraianKerja(@PathVariable("id") String id, @PathVariable("tanggal") String tanggal, HttpServletRequest request) { @@ -384,11 +372,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -418,11 +406,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -439,11 +427,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -460,11 +448,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -483,11 +471,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -531,11 +519,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when saveAkun", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when saveAkun", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when saveAkun", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when saveAkun", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -551,11 +539,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -572,11 +560,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -593,11 +581,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -614,11 +602,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -635,11 +623,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -656,11 +644,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -677,11 +665,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -698,11 +686,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -719,11 +707,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -740,11 +728,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -761,11 +749,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -782,11 +770,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -803,11 +791,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -824,11 +812,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -845,11 +833,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -866,11 +854,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -887,11 +875,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -908,11 +896,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -929,11 +917,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -950,11 +938,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -971,11 +959,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -992,11 +980,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1013,11 +1001,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1033,11 +1021,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1054,11 +1042,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1075,11 +1063,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1109,11 +1097,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1130,11 +1118,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1151,11 +1139,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1172,11 +1160,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1193,11 +1181,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1216,11 +1204,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getLoadData", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getLoadData", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getLoadData", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getLoadData", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1237,11 +1225,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1259,11 +1247,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1281,11 +1269,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1302,11 +1290,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1323,11 +1311,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1344,11 +1332,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1365,11 +1353,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1399,11 +1387,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1425,11 +1413,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1446,11 +1434,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1468,11 +1456,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1489,11 +1477,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1522,11 +1510,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1543,11 +1531,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1564,11 +1552,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1585,11 +1573,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1606,11 +1594,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1627,11 +1615,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1648,11 +1636,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1669,11 +1657,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1690,11 +1678,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1717,11 +1705,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1738,11 +1726,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1759,11 +1747,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1841,11 +1829,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1862,11 +1850,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1883,11 +1871,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1904,11 +1892,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOExceptions {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1926,11 +1914,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add kelompok jabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add kelompok jabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add kelompok jabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add kelompok jabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1948,11 +1936,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add plafon remunerasi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add plafon remunerasi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add plafon remunerasi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add plafon remunerasi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1969,11 +1957,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -1990,11 +1978,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2011,11 +1999,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2032,11 +2020,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2078,11 +2066,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemExceptions {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2153,11 +2141,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2187,11 +2175,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2221,11 +2209,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pasien", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pasien", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pasien", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pasien", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2366,11 +2354,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2452,11 +2440,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2473,11 +2461,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2494,11 +2482,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2528,11 +2516,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get detail presensi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get detail presensi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get detail presensi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get detail presensi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2548,11 +2536,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get reverse geocoding", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get reverse geocoding", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get reverse geocoding", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get reverse geocoding", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2568,11 +2556,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2611,12 +2599,12 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get presensi kehadiran", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get presensi kehadiran", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get presensi kehadiran", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get presensi kehadiran", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); @@ -2719,11 +2707,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2763,11 +2751,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getUserLogin", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getUserLogin", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getUserLogin", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getUserLogin", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2786,11 +2774,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDataByPegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDataByPegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDataByPegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDataByPegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2809,11 +2797,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when loadPagePengajuanMutasi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when loadPagePengajuanMutasi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when loadPagePengajuanMutasi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when loadPagePengajuanMutasi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2830,11 +2818,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when savePengajuanMutasi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when savePengajuanMutasi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when savePengajuanMutasi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when savePengajuanMutasi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2853,11 +2841,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPengajuanMutasi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPengajuanMutasi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPengajuanMutasi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPengajuanMutasi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2876,11 +2864,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when loadPagePengajuanSanksi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when loadPagePengajuanSanksi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when loadPagePengajuanSanksi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when loadPagePengajuanSanksi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2897,11 +2885,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when savePengajuanSanksi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when savePengajuanSanksi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when savePengajuanSanksi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when savePengajuanSanksi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2920,11 +2908,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPengajuanSanksi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPengajuanSanksi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPengajuanSanksi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPengajuanSanksi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2943,11 +2931,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when loadPagePengajuanResign", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when loadPagePengajuanResign", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when loadPagePengajuanResign", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when loadPagePengajuanResign", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2964,11 +2952,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when savePengajuanResign", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when savePengajuanResign", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when savePengajuanResign", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when savePengajuanResign", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -2987,11 +2975,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPengajuanResign", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPengajuanResign", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPengajuanResign", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPengajuanResign", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3010,11 +2998,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListDaftarMuSaRe", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListDaftarMuSaRe", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListDaftarMuSaRe", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListDaftarMuSaRe", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3031,11 +3019,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when ApprovalMusare", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when ApprovalMusare", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when ApprovalMusare", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when ApprovalMusare", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3052,11 +3040,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when unVerifMusare", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when unVerifMusare", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when unVerifMusare", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when unVerifMusare", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3075,11 +3063,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getHistoryExecSanksi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getHistoryExecSanksi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getHistoryExecSanksi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getHistoryExecSanksi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3098,11 +3086,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getHistoryExecPangkat", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getHistoryExecPangkat", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getHistoryExecPangkat", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getHistoryExecPangkat", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3121,11 +3109,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getHistoryExecJabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getHistoryExecJabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getHistoryExecJabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getHistoryExecJabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3144,11 +3132,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when servicePermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when servicePermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when servicePermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when servicePermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3167,11 +3155,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when servicePermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when servicePermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when servicePermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when servicePermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3190,11 +3178,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getLoadData", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getLoadData", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getLoadData", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getLoadData", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3216,11 +3204,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDataCuti", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDataCuti", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDataCuti", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDataCuti", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3241,11 +3229,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when perbaruiDataCuti", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when perbaruiDataCuti", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when perbaruiDataCuti", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when perbaruiDataCuti", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3264,11 +3252,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDataPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDataPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDataPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDataPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3287,11 +3275,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDataPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDataPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDataPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDataPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3310,11 +3298,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3333,11 +3321,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListApprovalStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListApprovalStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListApprovalStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListApprovalStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3356,11 +3344,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListTanggalPermohonan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListTanggalPermohonan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListTanggalPermohonan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListTanggalPermohonan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3392,11 +3380,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListApprovalStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListApprovalStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListApprovalStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListApprovalStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3416,11 +3404,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListApprovalStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListApprovalStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListApprovalStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListApprovalStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3442,11 +3430,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListApprovalStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListApprovalStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListApprovalStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListApprovalStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3474,11 +3462,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when savePlanningPegawaiStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when savePlanningPegawaiStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when savePlanningPegawaiStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when savePlanningPegawaiStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3506,11 +3494,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when savePlanningPegawaiStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when savePlanningPegawaiStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when savePlanningPegawaiStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when savePlanningPegawaiStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3527,11 +3515,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when update PlanningPegawaiStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when update PlanningPegawaiStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when update PlanningPegawaiStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when update PlanningPegawaiStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3547,11 +3535,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when update PlanningPegawaiStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when update PlanningPegawaiStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when update PlanningPegawaiStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when update PlanningPegawaiStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3576,11 +3564,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when approvalPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when approvalPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when approvalPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when approvalPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3596,11 +3584,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when unVerifPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when unVerifPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when unVerifPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when unVerifPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3618,11 +3606,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getPeriodeRekap", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getPeriodeRekap", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getPeriodeRekap", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getPeriodeRekap", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3641,11 +3629,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getStrukHistori", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getStrukHistori", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getStrukHistori", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getStrukHistori", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3665,11 +3653,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDataGajiPegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDataGajiPegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDataGajiPegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDataGajiPegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3688,11 +3676,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDaftarGajiPkwt", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDaftarGajiPkwt", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDaftarGajiPkwt", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDaftarGajiPkwt", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3711,11 +3699,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getDtailGajiPkwt", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getDtailGajiPkwt", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getDtailGajiPkwt", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getDtailGajiPkwt", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3758,11 +3746,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add rekapKehadiran", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add rekapKehadiran", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add rekapKehadiran", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add rekapKehadiran", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3779,11 +3767,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add rekapKehadiran", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add rekapKehadiran", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add rekapKehadiran", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add rekapKehadiran", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3800,11 +3788,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add factor rate", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add factor rate", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add factor rate", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add factor rate", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -3933,11 +3921,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Pegawai Jadwal kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Pegawai Jadwal kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Pegawai Jadwal kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Pegawai Jadwal kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4034,11 +4022,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4054,11 +4042,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(listPegawaiVo, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4072,11 +4060,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(runningNumber, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4092,11 +4080,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(runningNumber, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getAllPegawaiAktifVerfiedByUnitKerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getAllPegawaiAktifVerfiedByUnitKerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4112,11 +4100,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4156,11 +4144,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when unVerifPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when unVerifPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when unVerifPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when unVerifPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4179,11 +4167,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4216,11 +4204,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(null, HttpStatus.NOT_FOUND, mapHeaderMessage); } } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getListPermohonanStatus", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getListPermohonanStatus", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getListPermohonanStatus", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getListPermohonanStatus", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4236,11 +4224,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add jatahCuti", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add jatahCuti", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add jatahCuti", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add jatahCuti", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4257,11 +4245,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_UPDATE_DATA_CUTI, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add jatahCuti pegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add jatahCuti pegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add jatahCuti pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add jatahCuti pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4278,11 +4266,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4353,11 +4341,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add rincian kegiatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add rincian kegiatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add rincian kegiatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add rincian kegiatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4374,11 +4362,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add rincian kegiatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add rincian kegiatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add rincian kegiatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add rincian kegiatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4395,11 +4383,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when rekam uraian rincian kegiatan pegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when rekam uraian rincian kegiatan pegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when rekam uraian rincian kegiatan pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when rekam uraian rincian kegiatan pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4416,11 +4404,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add acuan indeks iki", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add acuan indeks iki", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when acuan indeks iki", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when acuan indeks iki", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4486,11 +4474,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add unit kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add unit kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add unit kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add unit kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4532,11 +4520,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add habsen", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add habsen", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add habsen", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add habsen", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4553,11 +4541,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add unit kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add unit kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add unit kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add unit kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4788,11 +4776,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add unit kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add unit kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add unit kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add unit kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4857,11 +4845,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add unit kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add unit kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add unit kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add unit kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -4928,11 +4916,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add UraianTugas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add UraianTugas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add UraianTugas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add UraianTugas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5073,11 +5061,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add PegawaiJadwalKerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add PegawaiJadwalKerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add PegawaiJadwalKerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add PegawaiJadwalKerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5144,11 +5132,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Program Kegiatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Program Kegiatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Program Kegiatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Program Kegiatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5164,11 +5152,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Uraian Kegiatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Uraian Kegiatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Uraian Kegiatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Uraian Kegiatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5184,11 +5172,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Indikator Kualitas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Indikator Kualitas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Indikator Kualitas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Indikator Kualitas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5204,11 +5192,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when add Kategori Penilaian Kualitas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when add Kategori Penilaian Kualitas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add Kategori Penilaian Kualitas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add Kategori Penilaian Kualitas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5224,11 +5212,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when delete jadwal dinas", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when delete jadwal dinas", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when delete jadwal dinas", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when delete jadwal dinas", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5288,11 +5276,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get all dokter", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get all dokter", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get all dokter", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get all dokter", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5306,11 +5294,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(pegawais, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when getAllPegawaiAktifByRuangan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when getAllPegawaiAktifByRuangan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when getAllPegawaiAktifByRuangan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when getAllPegawaiAktifByRuangan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5324,11 +5312,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(pegawais, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get data sip str login user", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get data sip str login user", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get data sip str login user", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get data sip str login user", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5343,11 +5331,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get data list ruangan departemen", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get data list ruangan departemen", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get data list ruangan departemen", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get data list ruangan departemen", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5362,11 +5350,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get jadwal pegawai login", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get jadwal pegawai login", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get jadwal pegawai login", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get jadwal pegawai login", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5381,11 +5369,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get histori presensi pegawai login", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get histori presensi pegawai login", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get histori presensi pegawai login", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get histori presensi pegawai login", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5418,13 +5406,13 @@ public class SdmController extends LocaleController { } catch (JpaSystemException jse) { logAccService.putToLog(vo); - LOGGER.error("Got exception {} when save presensi pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when save presensi pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } catch (Exception ex) { logAccService.putToLog(vo); - LOGGER.error("Got exception {} when save presensi pegawai", ex.getMessage()); + LOGGER.error("Got Exception {} when save presensi pegawai", ex.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, ex.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } @@ -5437,11 +5425,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(true, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when put log presensi pegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when put log presensi pegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when put log presensi pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when put log presensi pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5457,11 +5445,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get data list rincian kegiatan pegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get data list rincian kegiatan pegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get data list rincian kegiatan pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get data list rincian kegiatan pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5480,7 +5468,7 @@ public class SdmController extends LocaleController { response.setHeader("Content-Disposition", "attachment; filename=" + fileNamePath); } catch (Exception e) { - LOGGER.error("Got exception {} when generate excel file", e.getMessage()); + LOGGER.error("Got Exception {} when generate excel file", e.getMessage()); } } @@ -5492,7 +5480,7 @@ public class SdmController extends LocaleController { try { resource = pegawaiJadwalKerjaService.loadFileAsResource(fileName); } catch (Exception e) { - LOGGER.error("Got exception {} when download jadwal", e.getMessage()); + LOGGER.error("Got Exception {} when download jadwal", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } @@ -5501,7 +5489,7 @@ public class SdmController extends LocaleController { try { contentType = request.getServletContext().getMimeType(resource.getFile().getAbsolutePath()); } catch (Exception e) { - LOGGER.error("Got exception {} when download jadwal", e.getMessage()); + LOGGER.error("Got Exception {} when download jadwal", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } @@ -5530,11 +5518,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get activity pegawai", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get activity pegawai", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get activity pegawai", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get activity pegawai", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5551,11 +5539,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get rekapitulasi status wfh", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get rekapitulasi status wfh", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get rekapitulasi status wfh", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get rekapitulasi status wfh", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5573,11 +5561,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get data habsen", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get data habsen", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get data habsen", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get data habsen", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5594,11 +5582,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get kuantitas capaian hari kerja", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get kuantitas capaian hari kerja", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get kuantitas capaian hari kerja", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get kuantitas capaian hari kerja", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5615,11 +5603,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.CREATED, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get pegawai atasan by jabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get pegawai atasan by jabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get pegawai atasan by jabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get pegawai atasan by jabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5634,11 +5622,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get all evaluasi jabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get all evaluasi jabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get all evaluasi jabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get all evaluasi jabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5653,11 +5641,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get histori evaluasi jabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get histori evaluasi jabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get histori evaluasi jabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get histori evaluasi jabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5672,11 +5660,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get anggaran remunerasi tahun ini", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get anggaran remunerasi tahun ini", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get anggaran remunerasi tahun ini", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get anggaran remunerasi tahun ini", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5691,11 +5679,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get remunerasi operasional tahun ini", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get remunerasi operasional tahun ini", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get remunerasi operasional tahun ini", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get remunerasi operasional tahun ini", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5710,11 +5698,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get plafon kmk remunerasi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get plafon kmk remunerasi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get plafon kmk remunerasi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get plafon kmk remunerasi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5729,11 +5717,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get penempatan evaluasi jabatan", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get penempatan evaluasi jabatan", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get penempatan evaluasi jabatan", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get penempatan evaluasi jabatan", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5750,11 +5738,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException sve) { - LOGGER.error("Got exception {} when get daftar dokter", sve.getMessage()); + LOGGER.error("Got ServiceVOException {} when get daftar dokter", sve.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, sve.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get daftar dokter", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get daftar dokter", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5780,11 +5768,11 @@ public class SdmController extends LocaleController { return RestUtil.getJsonResponse(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } } catch (ServiceVOException sve) { - LOGGER.error("Got exception {} when add/update mapping jabatan ke profesi", sve.getMessage()); + LOGGER.error("Got ServiceVOException {} when add/update mapping jabatan ke profesi", sve.getMessage()); mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS, sve.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when add/update mapping jabatan ke profesi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when add/update mapping jabatan ke profesi", jse.getMessage()); mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5799,11 +5787,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException sve) { - LOGGER.error("Got exception {} when delete mapping jabatan ke profesi", sve.getMessage()); + LOGGER.error("Got ServiceVOException {} when delete mapping jabatan ke profesi", sve.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, sve.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when delete mapping jabatan ke profesi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when delete mapping jabatan ke profesi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5818,11 +5806,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get all mapping jabatan profesi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get all mapping jabatan profesi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get all mapping jabatan profesi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get all mapping jabatan profesi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5839,11 +5827,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get daftar profesi", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get daftar profesi", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get daftar profesi", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get daftar profesi", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5858,11 +5846,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get kelompok jabatan logbook skor", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get kelompok jabatan logbook skor", e.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get kelompok jabatan logbook skor", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get kelompok jabatan logbook skor", jse.getMessage()); addHeaderMessage(Constants.MessageInfo.ERROR_MESSAGE, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); } @@ -5877,11 +5865,11 @@ public class SdmController extends LocaleController { getMessage(MessageResource.LABEL_SUCCESS, request)); return RestUtil.getJsonResponse(result, HttpStatus.OK, mapHeaderMessage); } catch (ServiceVOException e) { - LOGGER.error("Got exception {} when get daftar kelompok kerja staf medik", e.getMessage()); + LOGGER.error("Got ServiceVOException {} when get daftar kelompok kerja staf medik", e.getMessage()); mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS, e.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.INTERNAL_SERVER_ERROR, mapHeaderMessage); } catch (JpaSystemException jse) { - LOGGER.error("Got exception {} when get daftar kelompok kerja staf medik", jse.getMessage()); + LOGGER.error("Got JpaSystemException {} when get daftar kelompok kerja staf medik", jse.getMessage()); mapHeaderMessage.put(WebConstants.HttpHeaderInfo.LABEL_SUCCESS, jse.getMessage()); return RestUtil.getJsonHttptatus(HttpStatus.CONFLICT, mapHeaderMessage); }