logbean.sendMessage(MoyaEventType.BANKING_ERROR,permbean.getCurrentUser(),"received cancel for stamp ",stamp);
// Return true when checksum was correct
...
...
@@ -399,8 +397,7 @@ public class CheckoutFiBean implements CheckoutFiBeanLocal {
logbean.sendMessage(MoyaEventType.BANKING_ERROR,permbean.getCurrentUser(),"Valid mac, but Invalid return type: ",returnType," for stamp ",stamp," payment ",payment," status ",status);
thrownewEJBException("Unknown return type!");
}
}
else{
}else{
logbean.sendMessage(MoyaEventType.BANKING_ERROR,permbean.getCurrentUser(),"Validated mac, but bill not found for id: ",splittedStamp[0]," stamp ",stamp," mac: ",mac);
thrownewIllegalStateException("Looked up code "+code+" and got EventUser "+eventUser.getId()+" from event "+eventId+" which is not the current event "+currentEventId);