diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-04-02 16:38:56 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-04-02 16:38:56 +0000 |
commit | 8a6896444ce9b14c27193e688a8eeb59e1f51a4d (patch) | |
tree | deab172149acfb08d01e3dd1a228e654d600b5aa /smccSTALExt/src/main | |
parent | 50f7be0c55da14e1b73c39aa18db9808949387bc (diff) | |
download | mocca-8a6896444ce9b14c27193e688a8eeb59e1f51a4d.tar.gz mocca-8a6896444ce9b14c27193e688a8eeb59e1f51a4d.tar.bz2 mocca-8a6896444ce9b14c27193e688a8eeb59e1f51a4d.zip |
+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
Diffstat (limited to 'smccSTALExt/src/main')
-rw-r--r-- | smccSTALExt/src/main/java/at/gv/egiz/bku/smccstal/PersonIdentityLinkRequestHandler.java | 10 |
1 files changed, 6 insertions, 4 deletions
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); } } |