try{
} catch (Exception e){
String msg=.getMessage():
int index= msg. toUpperCase(). indexOf("ORA-");
String msg1= null;
if(index !=-1){
msg1= msg. substring(index 4, index +9);
}
cfContractInfoModel. setMsg(msg1);
return cfContractInfoModel;
}