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
This exception is used to indicate that the requested output format is not available.
- Since:
- 6.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnsupportedOutputFormatException
(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
Modifier and TypeMethodDescriptionThis method returns the name of the document that should be generated.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 Details
-
UnsupportedOutputFormatException
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 Details
-
getDocumentName
This method returns the name of the document that should be generated.- Returns:
- the name of the document that should be generated.
-
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.
-