FontAgrumentException

Inheritance: java.lang.Object, java.lang.Throwable, java.lang.Exception, java.lang.RuntimeException, java.lang.IllegalStateException, com.aspose.font.FontException

public class FontAgrumentException extends FontException

Represents Font argument exception. The exception can be thrown in case improper argument usages.

Constructors

ConstructorDescription
FontAgrumentException()Initializes new FontAgrumentException object.
FontAgrumentException(String message)Initializes new FontAgrumentException object.
FontAgrumentException(String message, RuntimeException innerException)Initializes new FontAgrumentException object.

FontAgrumentException()

public FontAgrumentException()

Initializes new FontAgrumentException object.

FontAgrumentException(String message)

public FontAgrumentException(String message)

Initializes new FontAgrumentException object.

Parameters:

ParameterTypeDescription
messagejava.lang.StringA message that describes the error.

FontAgrumentException(String message, RuntimeException innerException)

public FontAgrumentException(String message, RuntimeException innerException)

Initializes new FontAgrumentException object.

Parameters:

ParameterTypeDescription
messagejava.lang.StringA message that describes the error.
innerExceptionjava.lang.RuntimeExceptionThe exception that is the cause of the current exception.