Class FlowchartToBpmnConversionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- de.xima.fc.workflow.converter.bpmn.FlowchartToBpmnConversionException
-
- All Implemented Interfaces:
Serializable
public final class FlowchartToBpmnConversionException extends Exception
Exception thrown when theFlowchartToBpmnConverter
fails.- Since:
- 8.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlowchartToBpmnConversionException(String message)
Creates a newFlowchartToBpmnConversionException
with the given message.FlowchartToBpmnConversionException(String message, Throwable cause)
Creates a newFlowchartToBpmnConversionException
with the given message and cause.FlowchartToBpmnConversionException(Throwable cause)
Creates a newFlowchartToBpmnConversionException
with the given cause.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlowchartToBpmnConversionException
wrap(Throwable e)
Wraps the given exception in aFlowchartToBpmnConversionException
if it is not already one.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
FlowchartToBpmnConversionException
public FlowchartToBpmnConversionException(String message)
Creates a newFlowchartToBpmnConversionException
with the given message.- Parameters:
message
- the message
-
FlowchartToBpmnConversionException
public FlowchartToBpmnConversionException(Throwable cause)
Creates a newFlowchartToBpmnConversionException
with the given cause.- Parameters:
cause
- the cause
-
FlowchartToBpmnConversionException
public FlowchartToBpmnConversionException(String message, Throwable cause)
Creates a newFlowchartToBpmnConversionException
with the given message and cause.- Parameters:
message
- the messagecause
- the cause
-
-
Method Detail
-
wrap
public static FlowchartToBpmnConversionException wrap(Throwable e)
Wraps the given exception in aFlowchartToBpmnConversionException
if it is not already one.- Parameters:
e
- The exception to wrap- Returns:
- Either the given exception when already of this type, otherwise the wrapped exception.
-
-