InvalidFormatException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception, com.groupdocs.metadata.core.GroupDocsMetadataException

public final class InvalidFormatException extends GroupDocsMetadataException

The exception that is thrown when a file has an invalid format.

Constructors

Constructor Description
InvalidFormatException() Initializes a new instance of the InvalidFormatException class.
InvalidFormatException(String message) Initializes a new instance of the InvalidFormatException class.
InvalidFormatException(String message, RuntimeException innerException) Initializes a new instance of the InvalidFormatException class.

InvalidFormatException()

public InvalidFormatException()

Initializes a new instance of the InvalidFormatException class.

InvalidFormatException(String message)

public InvalidFormatException(String message)

Initializes a new instance of the InvalidFormatException class.

Parameters:

Parameter Type Description
message java.lang.String The message that describes the error.

InvalidFormatException(String message, RuntimeException innerException)

public InvalidFormatException(String message, RuntimeException innerException)

Initializes a new instance of the InvalidFormatException class.

Parameters:

Parameter Type Description
message java.lang.String The error message that explains the reason for the exception.
innerException java.lang.RuntimeException The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.