FontEmbeddingException

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

public final class FontEmbeddingException extends System.ApplicationException

The exception that is thrown when an attempt to embed font became failed

Constructors

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

FontEmbeddingException(String message)

public FontEmbeddingException(String message)

Initializes a new instance of the FontEmbeddingException class.

Parameters:

ParameterTypeDescription
messagejava.lang.StringThe message.

FontEmbeddingException(String message, System.Exception innerException)

public FontEmbeddingException(String message, System.Exception innerException)

Initializes a new instance of the FontEmbeddingException 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

FontEmbeddingException(System.Exception innerException)

public FontEmbeddingException(System.Exception innerException)

Initializes a new instance of the FontEmbeddingException class with 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