InvalidCgmFileFormatException

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, com.aspose.pdf.exceptions.InvalidFileFormatException

public final class InvalidCgmFileFormatException extends InvalidFileFormatException

The exception that is thrown when a Cgm file is invalid.

Constructors

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

InvalidCgmFileFormatException()

public InvalidCgmFileFormatException()

Initializes a new instance of the InvalidCgmFileFormatException class.

InvalidCgmFileFormatException(String message)

public InvalidCgmFileFormatException(String message)

Initializes a new instance of the InvalidCgmFileFormatException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

InvalidCgmFileFormatException(String message, System.Exception innerException)

public InvalidCgmFileFormatException(String message, System.Exception innerException)

Initializes a new instance of the InvalidCgmFileFormatException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe error message that explains the reason for the exception.
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.

InvalidCgmFileFormatException(System.Exception innerException)

public InvalidCgmFileFormatException(System.Exception innerException)

Initializes a new instance of the InvalidCgmFileFormatException class with a specified error message and 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.