diff options
Diffstat (limited to 'eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFException.java')
-rw-r--r-- | eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFException.java | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFException.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFException.java new file mode 100644 index 00000000..c72bc130 --- /dev/null +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/exceptions/EAAFException.java @@ -0,0 +1,45 @@ +/******************************************************************************* + *******************************************************************************/ +package at.gv.egiz.eaaf.core.exceptions; + +public class EAAFException extends Exception { + + private static final long serialVersionUID = 1L; + + private String errorId = null; + private Object[] params = null; + + public EAAFException(String msg) { + super(msg); + + } + + public EAAFException(String msg, Throwable e) { + super(msg, e); + + } + + public EAAFException(String errorId, Object[] params, String msg) { + super(msg); + this.errorId = errorId; + this.params = params; + + } + + public EAAFException(String errorId, Object[] params, String msg, Throwable e) { + super(msg, e); + this.errorId = errorId; + this.params = params; + + } + + public String getErrorId() { + return this.errorId; + + } + + public Object[] getParams() { + return this.params; + + } +} |