InvalidFileFormatException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.aspose.ms.System.ApplicationException, com.aspose.pdf.exceptions.PdfException

public class InvalidFileFormatException extends PdfException

The exception that is thrown when a file is invalid.

Constructors

ConstructorDescription
InvalidFileFormatException()Initializes a new instance of the InvalidFileFormatException class.
InvalidFileFormatException(String message)Initializes a new instance of the InvalidFileFormatException class.
InvalidFileFormatException(System.Exception innerException)Initializes a new instance of the InvalidFileFormatException class with a reference to the inner exception that is the cause of this exception.

InvalidFileFormatException()

public InvalidFileFormatException()

Initializes a new instance of the InvalidFileFormatException class.

InvalidFileFormatException(String message)

public InvalidFileFormatException(String message)

Initializes a new instance of the InvalidFileFormatException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

InvalidFileFormatException(System.Exception innerException)

public InvalidFileFormatException(System.Exception innerException)

Initializes a new instance of the InvalidFileFormatException class with a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
innerExceptioncom.aspose.ms.System.ExceptionThe exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.