if (oCntc.isNull(DB.sn_passport))
throw new SQLException("Legal document number not set for Contact "+getString(DB.gu_contact)+" at bookig for academic course "+getString(DB.gu_acourse));
Product oProd = new Product();
if (!oProd.load(oConn, new Object[]{getString(DB.gu_acourse)})) {
throw new SQLException("No product found for given academic course");
} else {
if (oProd.isNull(DB.id_currency)) {
throw new SQLException("Currency for product is not set");
}