improved exception message to display terminal Id.

This commit is contained in:
trifonnt 2009-03-26 22:03:04 +00:00
parent eeb020513c
commit 66665f2594
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ public class POSTerminalManager
MPOSTerminal terminal = MPOSTerminal.get(ctx, terminalId); MPOSTerminal terminal = MPOSTerminal.get(ctx, terminalId);
if (terminal == null) if (terminal == null)
{ {
throw new TerminalNotFoundException("Terminal cannot be loaded"); throw new TerminalNotFoundException("Terminal cannot be loaded; terminalId["+terminalId+"]");
} }
return terminal; return terminal;
} }