Package de.xima.fc.exceptions
Class AbstractXfcException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.exceptions.AbstractXfcException
-
- All Implemented Interfaces:
IXfcException
,Serializable
- Direct Known Subclasses:
FCPluginException
,IsNotAssignableException
,JSONRequesterException
,PatternNotFoundException
,PropertyException
,TransformationException
,WorkflowAnalysisException
,WorkflowEventRunnerException
,WorkflowProcessingException
,WorkflowValidationException
,XfcUpdateException
public abstract class AbstractXfcException extends Exception 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 AbstractXfcException(de.xima.cmn.dao.exceptions.interfaces.IDaoException xfcException)
AbstractXfcException(IXfcException xfcException)
AbstractXfcException(String message)
AbstractXfcException(String message, Throwable cause)
AbstractXfcException(Throwable cause)
AbstractXfcException(Throwable cause, ITransferableEntity transferableEntity)
AbstractXfcException(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
-
AbstractXfcException
public AbstractXfcException(Throwable cause, ITransferableEntity transferableEntity, String message)
-
AbstractXfcException
public AbstractXfcException(Throwable cause, ITransferableEntity transferableEntity)
-
AbstractXfcException
public AbstractXfcException(Throwable cause)
-
AbstractXfcException
public AbstractXfcException(String message)
-
AbstractXfcException
public AbstractXfcException(IXfcException xfcException)
-
AbstractXfcException
public AbstractXfcException(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
-
-