# LabelRecognizerException

The `LabelRecognizerException` class represents an exception that can be thrown by the Dynamsoft Label Recognizer module. This class extends [`CoreException`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-exception.md) and provides specific error handling for label recognizer operations.

## Definition

*Package:* com.dynamsoft.dlr

```java
public class LabelRecognizerException extends CoreException
```

## Inheritance

`LabelRecognizerException` -> [`CoreException`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-exception.md)

## Inherited Members

Since `LabelRecognizerException` extends [`CoreException`](https://www.dynamsoft.com/capture-vision/docs/server/programming/java/api-reference/core/core-exception.md), it inherits all the properties and methods from the parent class, including:

- `getErrorCode()` - Returns the error code.
- `getErrorString()` - Returns the error string.

