diff options
Diffstat (limited to 'eaaf_core_api/src/main')
-rw-r--r-- | eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java new file mode 100644 index 00000000..4e2a0242 --- /dev/null +++ b/eaaf_core_api/src/main/java/at/gv/egiz/eaaf/core/exceptions/EaafFactoryException.java @@ -0,0 +1,28 @@ +package at.gv.egiz.eaaf.core.exceptions; + +public class EaafFactoryException extends EaafException { + + private static final long serialVersionUID = 4710605711787308220L; + + /** + * In case that a factory can not build an object. + * + * @param errorId ErrorCode + * @param params Message parameters + * @param e Exception + */ + public EaafFactoryException(String errorId, Object[] params, Throwable e) { + super(errorId, params, e); + } + + /** + * In case that a factory can not build an object. + * + * @param errorId ErrorCode + * @param params Message parameters + */ + public EaafFactoryException(String errorId, Object[] params) { + super(errorId, params); + } + +} |