Class UnsupportedOutputFormatException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.composer.ComposerException
-
- com.aquima.interactions.composer.exception.UnsupportedOutputFormatException
-
- All Implemented Interfaces:
Serializable
public class UnsupportedOutputFormatException extends ComposerException
This exception is used to indicate that the requested output format is not available.- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnsupportedOutputFormatException​(String documentName, OutputFormat format)
Constructs the exception with the name of the document that should be generated and the output format that was not supported.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDocumentName()
This method returns the name of the document that should be generated.OutputFormat
getOutputFormat()
This method returns the output format that was not supported by the document engine.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnsupportedOutputFormatException
public UnsupportedOutputFormatException​(String documentName, OutputFormat format)
Constructs the exception with the name of the document that should be generated and the output format that was not supported.- Parameters:
documentName
- The name of the document that should be generated.format
- The output format that was not supported by the document engine.
-
-
Method Detail
-
getDocumentName
public String getDocumentName()
This method returns the name of the document that should be generated.- Returns:
- the name of the document that should be generated.
-
getOutputFormat
public OutputFormat getOutputFormat()
This method returns the output format that was not supported by the document engine.- Returns:
- the output format that was not supported by the document engine.
-
-