When the same data is added to the ssh framework, the exception cannot be caught and thrown into the catch.

when adding data in ssh framework, the exception thrown cannot be caught
access class DAO

when the same data is added.
public Integer addDbodler(Dbodler dbodler) {
try {
super.save(dbodler);
return 1;
} catch (Exception e) {
return 0;
}
}

implementation class BIZ

public boolean isAdd(Dbodler dbodler) {
// TODO 
if (dbodlerDao.addDbodler(dbodler)>0) {
return true;
}
return false;
}
Mar.09,2022

you first break the point to see if an exception is thrown and then catch

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b376cc-4061d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b376cc-4061d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?