From 8a6896444ce9b14c27193e688a8eeb59e1f51a4d Mon Sep 17 00:00:00 2001 From: tkellner Date: Mon, 2 Apr 2012 16:38:56 +0000 Subject: +implemented error handling for not activated cards or invalid coded infoboxes git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1041 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal') diff --git a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java index d8af52ee..d8873f77 100644 --- a/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java +++ b/smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java @@ -98,13 +98,15 @@ public class PersonIdentityLinkRequestHandler extends AbstractRequestHandler { catch(SignatureCardException ex) { log.error(ex.getMessage(), ex); - //gui.showErrorDialog(errorMsgKey, errorMsgParams) - //waitForAction(); + gui.showErrorDialog(PINManagementGUIFacade.ERR_CARD_NOTACTIVATED, + null, this, "cancel"); + waitForAction(); return new ErrorResponse(1000); } catch (IOException ex) { log.error(ex.getMessage(), ex); - //gui.showErrorDialog(errorMsgKey, errorMsgParams) - //waitForAction(); + gui.showErrorDialog(PersonIdentityLinkGUIFacade.ERR_INFOBOX_INVALID, + null, this, "cancel"); + waitForAction(); return new ErrorResponse(1000); } } -- cgit v1.2.3