FontCreationException

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

public class FontCreationException extends FontException

Represents Font creation exception. The exception can be thrown in case errors during font creation process.

Constructors

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

FontCreationException()

public FontCreationException()

Initializes new FontCreationException object.

FontCreationException(String message)

public FontCreationException(String message)

Initializes new FontCreationException object.

Parameters:

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

FontCreationException(String message, RuntimeException innerException)

public FontCreationException(String message, RuntimeException innerException)

Initializes new FontCreationException object.

Parameters:

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