PngImageException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, com.aspose.ms.System.Exception

public class PngImageException extends System.Exception

The png image exception.

Constructors

ConstructorDescription
PngImageException(String message)Initializes a new instance of the PngImageException class.
PngImageException(String message, Throwable innerException)Initializes a new instance of the PngImageException class.

PngImageException(String message)

public PngImageException(String message)

Initializes a new instance of the PngImageException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

PngImageException(String message, Throwable innerException)

public PngImageException(String message, Throwable innerException)

Initializes a new instance of the PngImageException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.
innerExceptionjava.lang.ThrowableThe inner exception.