Пример #1
0
 private void initBL() {
   try {
     transferReceiptBLService = BLFactory.getTransferReceiptBLService();
     payReceiptBLService = BLFactory.getPayReceiptBLService();
   } catch (MalformedURLException e) {
     new ErrorDialog(parent, "MalformedURLException");
   } catch (RemoteException e) {
     new TranslucentFrame(this, MessageType.RMI_LAG, Color.ORANGE);
   } catch (NotBoundException e) {
     new ErrorDialog(parent, "NotBoundException");
   }
 }
Пример #2
0
 private void initBL() {
   try {
     bankAccountBLService = BLFactory.getBankAccountBLService();
   } catch (MalformedURLException e) {
     System.out.println(e.getMessage());
   } catch (RemoteException e) {
     new TranslucentFrame(this, MessageType.RMI_LAG, Color.ORANGE);
   } catch (NotBoundException e) {
     System.out.println(e.getMessage());
   }
 }