EncodingException

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

public class EncodingException extends FontException

Represents encoding exception. The exception can be thrown in case problem with encoding/decoding text.

Constructors

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

EncodingException()

public EncodingException()

Initializes new EncodingException object.

EncodingException(String message)

public EncodingException(String message)

Initializes new EncodingException object.

Parameters:

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

EncodingException(String message, RuntimeException innerException)

public EncodingException(String message, RuntimeException innerException)

Initializes new EncodingException object.

Parameters:

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