com.groupdocs.viewer.exception

Class FileTypeNotSupportedException

  • All Implemented Interfaces:
    Serializable


    public class FileTypeNotSupportedException
    extends GroupDocsViewerException

    Thrown during document load, when the document format is not recognized or not supported by GroupDocs.Viewer.

    Version:
    17.5.1
    Author:
    GroupDocs.Viewer Team
    See Also:
    Serialized Form
    • Constructor Detail

      • FileTypeNotSupportedException

        public FileTypeNotSupportedException(String fileType,
                                     ILocalizationHandler localizationHandler)

        Initializes a new instance of the FileTypeNotSupportedException class.

        Parameters:
        fileType - the file type
        localizationHandler - The localization handler.
      • FileTypeNotSupportedException

        public FileTypeNotSupportedException(String message,
                                     Throwable throwable)
        Instantiates a new File type not supported exception.
        Parameters:
        message - the message
        throwable - the throwable