Package de.xima.fc.exceptions
Class AbstractXfcRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- de.xima.fc.exceptions.AbstractXfcRuntimeException
-
- All Implemented Interfaces:
IXfcException
,Serializable
- Direct Known Subclasses:
ValidationException
,XfcExportException
public abstract class AbstractXfcRuntimeException extends RuntimeException implements IXfcException
Diese Klasse ist die Superklasse von denen alle neudefinierten Exceptions erben sollen. Die Klasse bietet Informationen, die jede Exception haben sollte, wiegetMessageKey()
undgetErrorCode()
created by: XIMA MEDIA GmbH, Dresden - mgu - 17.07.2014- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractXfcRuntimeException(de.xima.cmn.dao.exceptions.interfaces.IDaoException xfcException)
AbstractXfcRuntimeException(IXfcException xfcException)
AbstractXfcRuntimeException(String message)
AbstractXfcRuntimeException(String message, Throwable cause)
AbstractXfcRuntimeException(Throwable cause)
AbstractXfcRuntimeException(Throwable cause, ITransferableEntity transferableEntity)
AbstractXfcRuntimeException(Throwable cause, ITransferableEntity transferableEntity, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorCode()
XfcExceptionData
getExceptionData()
String
getLocalizedMessage(Locale locale)
String
getMessageKey()
Serializable[]
getMessageParams()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.xima.fc.exceptions.IXfcException
getDefaultErrorCode, getDefaultMessageKey
-
-
-
-
Constructor Detail
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(Throwable cause, ITransferableEntity transferableEntity, String message)
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(Throwable cause, ITransferableEntity transferableEntity)
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(Throwable cause)
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(String message)
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(IXfcException xfcException)
-
AbstractXfcRuntimeException
public AbstractXfcRuntimeException(de.xima.cmn.dao.exceptions.interfaces.IDaoException xfcException)
-
-
Method Detail
-
getExceptionData
public XfcExceptionData getExceptionData()
- Specified by:
getExceptionData
in interfaceIXfcException
-
getMessageKey
public String getMessageKey()
- Specified by:
getMessageKey
in interfaceIXfcException
-
getErrorCode
public String getErrorCode()
- Specified by:
getErrorCode
in interfaceIXfcException
-
getMessageParams
public Serializable[] getMessageParams()
- Specified by:
getMessageParams
in interfaceIXfcException
-
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- Specified by:
getLocalizedMessage
in interfaceIXfcException
-
-