aboutsummaryrefslogtreecommitdiff
path: root/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2016-03-21 13:29:52 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2016-03-21 13:29:52 +0100
commitf1c588836f613209984c15a761d65b20c66ca4e9 (patch)
tree9c1e91619cd0f7fd0ee86ac9602b1b5bd467c494 /id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment
parent50f5f5d72d5165c124bd13b62529e3faf11b3d18 (diff)
downloadmoa-id-spss-f1c588836f613209984c15a761d65b20c66ca4e9.tar.gz
moa-id-spss-f1c588836f613209984c15a761d65b20c66ca4e9.tar.bz2
moa-id-spss-f1c588836f613209984c15a761d65b20c66ca4e9.zip
add missing error codes
Diffstat (limited to 'id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment')
-rw-r--r--id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/exceptions/OAuth20Exception.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/exceptions/OAuth20Exception.java b/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/exceptions/OAuth20Exception.java
index d7fecd1b5..5dc36868b 100644
--- a/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/exceptions/OAuth20Exception.java
+++ b/id/server/modules/moa-id-module-openID/src/main/java/at/gv/egovernment/moa/id/protocols/oauth20/exceptions/OAuth20Exception.java
@@ -22,9 +22,9 @@
*******************************************************************************/
package at.gv.egovernment.moa.id.protocols.oauth20.exceptions;
-import at.gv.egovernment.moa.id.commons.utils.MOAIDMessageProvider;
+import at.gv.egovernment.moa.id.commons.api.exceptions.MOAIDException;
-public class OAuth20Exception extends RuntimeException {
+public class OAuth20Exception extends MOAIDException {
private static final long serialVersionUID = 1L;
@@ -33,7 +33,7 @@ public class OAuth20Exception extends RuntimeException {
private String errorCode;
public OAuth20Exception(final String errorCode, final String messageId, final Object[] parameters) {
- super(MOAIDMessageProvider.getInstance().getMessage(messageId, parameters));
+ super(messageId, parameters);
this.errorCode = errorCode;
this.messageId = messageId;
}