From 66665f25946eb1a52787a659216f9c9df4f3840a Mon Sep 17 00:00:00 2001 From: trifonnt Date: Thu, 26 Mar 2009 22:03:04 +0000 Subject: [PATCH] improved exception message to display terminal Id. --- .../main/org/posterita/businesslogic/POSTerminalManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posterita/posterita/src/main/org/posterita/businesslogic/POSTerminalManager.java b/posterita/posterita/src/main/org/posterita/businesslogic/POSTerminalManager.java index 1d302fb942..c38a4c3dfd 100644 --- a/posterita/posterita/src/main/org/posterita/businesslogic/POSTerminalManager.java +++ b/posterita/posterita/src/main/org/posterita/businesslogic/POSTerminalManager.java @@ -607,7 +607,7 @@ public class POSTerminalManager MPOSTerminal terminal = MPOSTerminal.get(ctx, terminalId); if (terminal == null) { - throw new TerminalNotFoundException("Terminal cannot be loaded"); + throw new TerminalNotFoundException("Terminal cannot be loaded; terminalId["+terminalId+"]"); } return terminal; }