|
From: Pelle B. <pe...@us...> - 2004-04-05 23:06:47
|
Update of /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/controllers/currency In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3563/src/java/org/neuclear/asset/controllers/currency Modified Files: CurrencyController.java Log Message: API changes in Ledger to support Auditor and CurrencyController in Pay Index: CurrencyController.java =================================================================== RCS file: /cvsroot/neuclear/neuclear-pay/src/java/org/neuclear/asset/controllers/currency/CurrencyController.java,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** CurrencyController.java 5 Apr 2004 22:08:22 -0000 1.22 --- CurrencyController.java 5 Apr 2004 22:54:04 -0000 1.23 *************** *** 52,56 **** throw new LowLevelPaymentException(e); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e.getSubMessage()); } catch (NegativeTransferException e) { throw new InvalidTransferException("postive amount"); --- 52,56 ---- throw new LowLevelPaymentException(e); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e); } catch (NegativeTransferException e) { throw new InvalidTransferException("postive amount"); *************** *** 71,75 **** throw new LowLevelPaymentException(e); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e.getSubMessage()); } catch (NegativeTransferException e) { throw new InvalidTransferException("postive amount"); --- 71,75 ---- throw new LowLevelPaymentException(e); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e); } catch (NegativeTransferException e) { throw new InvalidTransferException("postive amount"); *************** *** 88,96 **** throw new LowLevelPaymentException(e); } catch (UnknownTransactionException e) { ! throw new InvalidTransferException(e.getLocalizedMessage()); } catch (TransactionExpiredException e) { ! throw new InvalidTransferException(e.getLocalizedMessage()); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e.getLocalizedMessage()); } } --- 88,96 ---- throw new LowLevelPaymentException(e); } catch (UnknownTransactionException e) { ! throw new InvalidTransferException(e); } catch (TransactionExpiredException e) { ! throw new InvalidTransferException(e); } catch (InvalidTransactionException e) { ! throw new InvalidTransferException(e); } } *************** *** 103,107 **** throw new LowLevelPaymentException(e); } catch (UnknownTransactionException e) { ! throw new InvalidTransferException(e.getLocalizedMessage()); } } --- 103,107 ---- throw new LowLevelPaymentException(e); } catch (UnknownTransactionException e) { ! throw new InvalidTransferException(e); } } |