Ejemplo n.º 1
0
 public void checkUpdateInfo() {
   if (StringUtils.isEmpty(updateUser))
     throw SpTranspTechError.MISSING_INFORMATION.exception("update user");
   if (updateDate == null) throw SpTranspTechError.MISSING_INFORMATION.exception("update date");
 }
Ejemplo n.º 2
0
 public void checkCreationInfo() {
   if (StringUtils.isEmpty(creationUser))
     throw SpTranspTechError.MISSING_INFORMATION.exception("creation user");
   if (creationDate == null)
     throw SpTranspTechError.MISSING_INFORMATION.exception("creation date");
 }