Class 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:
  • Constructor Details

    • 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 Details

    • 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.