**Inheritance:**
java.lang.Object, com.aspose.pdf.TextExtractionError

```
public final class TextExtractionError extends Object
```

Describes the text extraction error has appeared in the PDF document.

## Methods

| Method | Description |
| --- | --- |
| [getDescription](#getDescription--) | Expanded description of the error. |
| [getExtractedText](#getExtractedText--) | Text that was actually extracted. |
| [getFontKey](#getFontKey--) | Key (PDF name) of the Font object that is used for showing text that causes extraction error. |
| [getFontName](#getFontName--) | Readable (internal) name of the Font object that is used for showing text that causes extraction error. |
| [getLocation](#getLocation--) | Location of the error. |
| [getSummary](#getSummary--) | Brief description of the error. |
| [toString](#toString--) | Returns string representation. |

### getDescription {#getDescription--}
```
public String getDescription()
```

Expanded description of the error.

**Returns:**
String value

### getExtractedText {#getExtractedText--}
```
public String getExtractedText()
```

Text that was actually extracted.

**Returns:**
String value

### getFontKey {#getFontKey--}
```
public String getFontKey()
```

Key (PDF name) of the Font object that is used for showing text that causes extraction error.

**Returns:**
String value

### getFontName {#getFontName--}
```
public String getFontName()
```

Readable (internal) name of the Font object that is used for showing text that causes extraction error.

**Returns:**
String value

### getLocation {#getLocation--}
```
public TextExtractionErrorLocation getLocation()
```

Location of the error.

**Returns:**
TextExtractionErrorLocation instance

### getSummary {#getSummary--}
```
public String getSummary()
```

Brief description of the error.

**Returns:**
String value

### toString {#toString--}
```
public String toString()
```

Returns string representation.

**Returns:**
String representation
