aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-20 12:16:04 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-20 12:16:04 +0200
commitc68914663440c9f7c0808d965b901acf5df0194d (patch)
tree37142d0bb35bed733ae9a85ee6e2d0282f9631e7 /pdf-as-common/src/main/java/at/gv/egiz
parent670d8312a1459db518140f0dfcfe6434dda2ebec (diff)
downloadpdf-as-4-c68914663440c9f7c0808d965b901acf5df0194d.tar.gz
pdf-as-4-c68914663440c9f7c0808d965b901acf5df0194d.tar.bz2
pdf-as-4-c68914663440c9f7c0808d965b901acf5df0194d.zip
Extract MOA error codes, log generic error message
Diffstat (limited to 'pdf-as-common/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsMOAException.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsMOAException.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsMOAException.java
index 1e602388..e9ab5a9d 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsMOAException.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsMOAException.java
@@ -49,4 +49,36 @@ public class PdfAsMOAException extends PdfAsException {
protected String localizeMessage(String msgId) {
return String.format(MessageResolver.resolveMessage(msgId), errorResponse, errorCode, faultCode, faultString);
}
+
+ public String getFaultCode() {
+ return faultCode;
+ }
+
+ public void setFaultCode(String faultCode) {
+ this.faultCode = faultCode;
+ }
+
+ public String getFaultString() {
+ return faultString;
+ }
+
+ public void setFaultString(String faultString) {
+ this.faultString = faultString;
+ }
+
+ public String getErrorResponse() {
+ return errorResponse;
+ }
+
+ public void setErrorResponse(String errorResponse) {
+ this.errorResponse = errorResponse;
+ }
+
+ public String getErrorCode() {
+ return errorCode;
+ }
+
+ public void setErrorCode(String errorCode) {
+ this.errorCode = errorCode;
+ }
}