summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-22 14:34:30 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-03-22 14:34:30 +0000
commitd2a69e96416b2d8380743e443cebc03c87c6bf3c (patch)
treee2388bbcfe4162566129e7ea6b115127ca2d96f6 /sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java
parentdbc0816ae90e3d07f8d039fa491be5e432e8f9d3 (diff)
Add some exception handling to the customer registry
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757191 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java
index 0a23f6a81a..c7c9f11a6c 100644
--- a/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java
+++ b/sandbox/travelsample/shared-contributions/payment-java-contribution/src/main/java/scatours/customer/CustomerRegistry.java
@@ -31,7 +31,7 @@ public interface CustomerRegistry {
boolean updateCustomer(Customer customer);
- Customer getCustomer(String id);
+ Customer getCustomer(String id) throws CustomerNotFoundException;
Collection<Customer> getAllCustomers();