diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-07-19 10:35:29 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2019-07-19 10:35:29 +0200 |
commit | 2c3c1d6bb748a0655a83fdf4cd26135042d898b9 (patch) | |
tree | 6feabd6d3a6a3aed7751154053b3487de4959d6d /src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java | |
parent | 2d03e741a91f6155dce75952b0174e3e52a12740 (diff) | |
download | egovutils-2.0.7.tar.gz egovutils-2.0.7.tar.bz2 egovutils-2.0.7.zip |
USP client integration2.0.7
switch to v2.0.7
Diffstat (limited to 'src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java')
-rw-r--r-- | src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java b/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java index 96ad965..4b2302b 100644 --- a/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java +++ b/src/main/java/at/gv/util/client/mis/usp_v2/USPClientException.java @@ -4,29 +4,29 @@ public class USPClientException extends Exception { private static final long serialVersionUID = 5173056345209288701L; - private int code = -1; + private String code; - public USPClientException(int code) { + public USPClientException(String code) { super(); this.code = code; } - public USPClientException(String message, int code, Throwable cause) { + public USPClientException(String message, String code, Throwable cause) { super(message, cause); this.code = code; } - public USPClientException(String message, int code) { + public USPClientException(String message, String errorCode) { super(message); - this.code = code; + this.code = errorCode; } - public USPClientException(int code, Throwable cause) { + public USPClientException(String code, Throwable cause) { super(cause); this.code = code; } - public int getCode() { + public String getCode() { return this.code; } |