# BarcodeReaderException

The `BarcodeReaderException` class represents an exception that can be thrown by the Dynamsoft Barcode Reader 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 barcode reader operations.

## Definition

*Package:* com.dynamsoft.dbr

```java
public class BarcodeReaderException extends CoreException
```

## Inheritance

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

## Inherited Members

Since `BarcodeReaderException` 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.

