Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions _includes/sidelist-programming/programming-java.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
<li><a>Classes</a>
<ul>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/buffered-items-manager.html" class="otherLinkColour">BufferedItemsManager</a></li>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/capture-vision-error.html" class="otherLinkColour">CaptureVisionError</a></li>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/capture-vision-execption.html" class="otherLinkColour">CaptureVisionException</a></li>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-router-module.html" class="otherLinkColour">CaptureVisionRouterModule</a></li>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/captured-result-filter.html" class="otherLinkColour">CapturedResultFilter</a></li>
<li><a href="{{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/captured-result-receiver.html" class="otherLinkColour">CapturedResultReceiver</a></li>
Expand Down Expand Up @@ -48,6 +50,7 @@
<ul>
<li><a href="{{ site.dbr_java_api }}aztec-details.html" class="otherLinkColour">AztecDetails</a></li>
<li><a href="{{ site.dbr_java_api }}barcode-details.html" class="otherLinkColour">BarcodeDetails</a></li>
<li><a href="{{ site.dbr_java_api }}barcode-reader-exception.html" class="otherLinkColour">BarcodeReaderException</a></li>
<li><a href="{{ site.dbr_java_api }}barcode-reader-module.html" class="otherLinkColour">BarcodeReaderModule</a></li>
<li><a href="{{ site.dbr_java_api }}barcode-result-item.html" class="otherLinkColour">BarcodeResultItem</a></li>
<li><a href="{{ site.dbr_java_api }}candidate-barcode-zone.html" class="otherLinkColour">CandidateBarcodeZone</a></li>
Expand Down Expand Up @@ -91,6 +94,8 @@
<li><a href="{{ site.dcvb_java_api }}core/intermediate-results/colour-image-unit.html" class="otherLinkColour">ColourImageUnit</a></li>
<li><a href="{{ site.dcvb_java_api }}core/intermediate-results/contours-unit.html" class="otherLinkColour">ContoursUnit</a></li>
<li><a href="{{ site.dcvb_java_api }}core/basic-classes/contour.html" class="otherLinkColour">Contour</a></li>
<li><a href="{{ site.dcvb_java_api }}core/core-error.html" class="otherLinkColour">CoreError</a></li>
<li><a href="{{ site.dcvb_java_api }}core/core-exception.html" class="otherLinkColour">CoreException</a></li>
<li><a href="{{ site.dcvb_java_api }}core/basic-classes/core-module.html" class="otherLinkColour">CoreModule</a></li>
<li><a href="{{ site.dcvb_java_api }}core/basic-classes/corner.html" class="otherLinkColour">Corner</a></li>
<li><a href="{{ site.dcvb_java_api }}core/basic-classes/edge.html" class="otherLinkColour">Edge</a></li>
Expand Down Expand Up @@ -168,6 +173,7 @@
<li><a href="{{ site.dcvb_java_api }}utility/image-drawer.html" class="otherLinkColour">ImageDrawer</a></li>
<li><a href="{{ site.dcvb_java_api }}utility/multi-frame-result-cross-filter.html" class="otherLinkColour">MultiFrameResultCrossFilter</a></li>
<li><a href="{{ site.dcvb_java_api }}utility/proactive-image-source-adapter.html" class="otherLinkColour">ProactiveImageSourceAdapter</a></li>
<li><a href="{{ site.dcvb_java_api }}utility/utility-exception.html" class="otherLinkColour">UtilityException</a></li>
<li><a href="{{ site.dcvb_java_api }}utility/utility-module.html" class="otherLinkColour">UtilityModule</a></li>
</ul>
</li>
Expand All @@ -180,6 +186,8 @@
</li>
<li><a>DynamsoftLicense</a>
<ul>
<li><a href="{{ site.dcvb_java_api }}license/license-error.html" class="otherLinkColour">LicenseError</a></li>
<li><a href="{{ site.dcvb_java_api }}license/license-exception.html" class="otherLinkColour">LicenseException</a></li>
<li><a href="{{ site.dcvb_java_api }}license/license-manager.html" class="otherLinkColour">LicenseManager</a></li>
<li><a href="{{ site.dcvb_java_api }}license/license-module.html" class="otherLinkColour">LicenseModule</a></li>
</ul>
Expand Down
32 changes: 32 additions & 0 deletions programming/java/api-reference/barcode-reader-exception.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
layout: default-layout
title: BarcodeReaderException Class - Dynamsoft Barcode Reader Module Java Edition API Reference
description: Definition of BarcodeReaderException class in Dynamsoft Barcode Reader Module Java Edition.
keywords: barcode reader module, java
needAutoGenerateSidebar: true
needGenerateH3Content: true
---

# BarcodeReaderException

The `BarcodeReaderException` class represents an exception that can be thrown by the Dynamsoft Barcode Reader module. This class extends [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html) and provides specific error handling for barcode reader operations.

## Definition

*Package:* com.dynamsoft.dbr

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

## Inheritance

`BarcodeReaderException` -> [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html)

## Inherited Members

Since `BarcodeReaderException` extends [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html), it inherits all the properties and methods from the parent class, including:

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

4 changes: 4 additions & 0 deletions programming/java/api-reference/barcode-result-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ public void setLocation(Quadrilateral location) throws BarcodeReaderException

`BarcodeReaderException`: Thrown when an error occurs during the operation.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

### setText

Sets the text of the decoded barcode.
Expand Down
13 changes: 13 additions & 0 deletions programming/java/api-reference/candidate-barcode-zones-unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Returns the candidate barcode zone at the specified index.

`BarcodeReaderException`: Thrown when an error occurs during the operation.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

### getCandidateBarcodeZones

Gets all candidate barcode zones.
Expand Down Expand Up @@ -91,6 +95,10 @@ public void addCandidateBarcodeZone(CandidateBarcodeZone candidateBarcodeZone) t

`BarcodeReaderException`: Thrown when an error occurs during the operation.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

### removeAllCandidateBarcodeZones

Removes all the candidate barcode zones.
Expand All @@ -114,3 +122,8 @@ public void removeCandidateBarcodeZone(int index) throws BarcodeReaderException
**Exceptions**

`BarcodeReaderException`: Thrown when an error occurs during the operation.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

4 changes: 4 additions & 0 deletions programming/java/api-reference/decoded-barcodes-unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Returns the `DecodedBarcodeElement` object at the specified index.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[DecodedBarcodeElement]({{ site.dbr_java_api }}decoded-barcode-element.html)

### getDecodedBarcodes
Expand Down Expand Up @@ -111,4 +113,6 @@ public void setDecodedBarcode(DecodedBarcodeElement element, double[] matrixToOr

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[DecodedBarcodeElement]({{ site.dbr_java_api }}decoded-barcode-element.html)
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,6 @@ public void setDeformationResistedBarcode(DeformationResistedBarcode barcode, do

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[DeformationResistedBarcode]({{ site.dbr_java_api }}deformation-resisted-barcode.html)
10 changes: 10 additions & 0 deletions programming/java/api-reference/localized-barcodes-unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public void addLocalizedBarcode(LocalizedBarcodeElement localizedBarcode, double

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[LocalizedBarcodeElement]({{ site.dbr_java_api }}localized-barcode-element.html)

### getCount
Expand Down Expand Up @@ -89,6 +91,8 @@ Returns a `LocalizedBarcodeElement` object at the specified index.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[LocalizedBarcodeElement]({{ site.dbr_java_api }}localized-barcode-element.html)

### getLocalizedBarcodes
Expand Down Expand Up @@ -131,6 +135,10 @@ public void removeLocalizedBarcode(int index) throws BarcodeReaderException

`BarcodeReaderException` If an error occurs while removing the localized barcode.

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

### setLocalizedBarcode

Sets the localized barcode at the specified index.
Expand All @@ -156,5 +164,7 @@ public void setLocalizedBarcode(int index, LocalizedBarcodeElement localizedBarc

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[LocalizedBarcodeElement]({{ site.dbr_java_api }}localized-barcode-element.html)

2 changes: 2 additions & 0 deletions programming/java/api-reference/scaled-barcode-image-unit.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ public void setImageData(ImageData imgData) throws BarcodeReaderException

**See Also**

[BarcodeReaderException]({{ site.dbr_java_api }}barcode-reader-exception.html)

[ImageData]({{ site.dcvb_java_api }}core/basic-classes/image-data.html)