diff --git a/_includes/sidelist-programming/programming-java.html b/_includes/sidelist-programming/programming-java.html
index 0b9becf..b6e5245 100644
--- a/_includes/sidelist-programming/programming-java.html
+++ b/_includes/sidelist-programming/programming-java.html
@@ -16,6 +16,8 @@
Classes
@@ -253,6 +261,8 @@
DynamsoftLicense
diff --git a/programming/cplusplus/api-reference/core/enum-error-code.md b/programming/cplusplus/api-reference/core/enum-error-code.md
index 406b240..d38750a 100644
--- a/programming/cplusplus/api-reference/core/enum-error-code.md
+++ b/programming/cplusplus/api-reference/core/enum-error-code.md
@@ -153,6 +153,8 @@ typedef enum ErrorCode
EC_INSTANCE_COUNT_OVER_LIMIT = -20008,
/** Trial License */
EC_TRIAL_LICENSE = -20010,
+ /** The license is not valid for current version */
+ EC_LICENSE_VERSION_NOT_MATCH = -20011,
/**Online license validation failed due to network issues. Using cached license information for validation*/
EC_LICENSE_CACHE_USED = -20012,
/*License authentication failed: quota exceeded.*/
diff --git a/programming/dotnet/api-reference/core/enum-error-code.md b/programming/dotnet/api-reference/core/enum-error-code.md
index 619b656..61fd36b 100644
--- a/programming/dotnet/api-reference/core/enum-error-code.md
+++ b/programming/dotnet/api-reference/core/enum-error-code.md
@@ -152,6 +152,8 @@ public enum EnumErrorCode
EC_INSTANCE_COUNT_OVER_LIMIT = -20008,
/** Trial License */
EC_TRIAL_LICENSE = -20010,
+ /** The license is not valid for current version */
+ EC_LICENSE_VERSION_NOT_MATCH = -20011,
/**Online license validation failed due to network issues. Using cached license information for validation*/
EC_LICENSE_CACHE_USED = -20012,
/*License authentication failed: quota exceeded.*/
diff --git a/programming/java/api-reference/capture-vision-router/auxiliary-classes/intermediate-result-manager.md b/programming/java/api-reference/capture-vision-router/auxiliary-classes/intermediate-result-manager.md
index c26ffe4..f66fa48 100644
--- a/programming/java/api-reference/capture-vision-router/auxiliary-classes/intermediate-result-manager.md
+++ b/programming/java/api-reference/capture-vision-router/auxiliary-classes/intermediate-result-manager.md
@@ -44,7 +44,7 @@ Returns void.
**Exception**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -68,7 +68,7 @@ Returns void.
**Exception**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
diff --git a/programming/java/api-reference/capture-vision-router/capture-vision-error.md b/programming/java/api-reference/capture-vision-router/capture-vision-error.md
new file mode 100644
index 0000000..ec70974
--- /dev/null
+++ b/programming/java/api-reference/capture-vision-router/capture-vision-error.md
@@ -0,0 +1,32 @@
+---
+layout: default-layout
+title: CaptureVisionError Class - Dynamsoft Capture Vision Router Module Java Edition API Reference
+description: Definition of CaptureVisionError class in Dynamsoft Capture Vision Router Module Java Edition.
+keywords: capture vision router module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# CaptureVisionError
+
+The `CaptureVisionError` class represents an error object that contains error code and error string information. This class extends [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html) and provides specific error handling for capture vision router operations.
+
+## Definition
+
+*Package:* com.dynamsoft.cvr
+
+```java
+public class CaptureVisionError extends CoreError
+```
+
+## Inheritance
+
+`CaptureVisionError` -> [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html)
+
+## Inherited Members
+
+Since `CaptureVisionError` extends [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html), it inherits all the properties and methods from the parent class, including:
+
+- `getErrorCode()` - Returns the error code.
+- `getErrorString()` - Returns the error string.
+
diff --git a/programming/java/api-reference/capture-vision-router/capture-vision-exception.md b/programming/java/api-reference/capture-vision-router/capture-vision-exception.md
new file mode 100644
index 0000000..3413411
--- /dev/null
+++ b/programming/java/api-reference/capture-vision-router/capture-vision-exception.md
@@ -0,0 +1,64 @@
+---
+layout: default-layout
+title: CaptureVisionException Class - Dynamsoft Capture Vision Router Module Java Edition API Reference
+description: Definition of CaptureVisionException class in Dynamsoft Capture Vision Router Module Java Edition.
+keywords: capture vision router module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# CaptureVisionException
+
+The `CaptureVisionException` class is the base exception class used by Dynamsoft Capture Vision Router module. This class extends the standard Java `Exception` class and provides additional error code and error string information for more detailed error handling.
+
+## Definition
+
+*Package:* com.dynamsoft.cvr
+
+```java
+public class CaptureVisionException extends Exception
+```
+
+## Inheritance
+
+`CaptureVisionException` -> `Exception` -> `Throwable`
+
+## Methods
+
+| Method | Description |
+| ------ | ----------- |
+| [`getErrorCode()`](#geterrorcode) | Returns the error code associated with the exception. |
+| [`getErrorString()`](#geterrorstring) | Returns the error string associated with the exception. |
+
+### getErrorCode()
+
+Returns the error code associated with the exception.
+
+```java
+public int getErrorCode()
+```
+
+**Return Value**
+
+The error code as an integer value.
+
+**See Also**
+
+[EnumErrorCode]({{ site.dcvb_java_api }}core/enum-error-code.html)
+
+### getErrorString()
+
+Returns the error string associated with the exception.
+
+```java
+public String getErrorString()
+```
+
+**Return Value**
+
+The error string that provides additional details about the error.
+
+## Inherited Members
+
+Since `CaptureVisionException` extends `Exception`, it also inherits all standard exception methods such as `getMessage()`, `getCause()`, `printStackTrace()`, etc.
+
diff --git a/programming/java/api-reference/capture-vision-router/multiple-file-processing.md b/programming/java/api-reference/capture-vision-router/multiple-file-processing.md
index a1883f8..7d1c7db 100644
--- a/programming/java/api-reference/capture-vision-router/multiple-file-processing.md
+++ b/programming/java/api-reference/capture-vision-router/multiple-file-processing.md
@@ -40,7 +40,7 @@ public void setInput(ImageSourceAdapter pAdapter) throws CaptureVisionException
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -84,7 +84,7 @@ public void addCaptureStateListener(CaptureStateListener listener) throws Captur
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -104,7 +104,7 @@ public void removeCaptureStateListener(CaptureStateListener listener) throws Cap
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -124,7 +124,7 @@ public void addImageSourceStateListener(ImageSourceStateListener listener) throw
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -144,7 +144,7 @@ public void removeImageSourceStateListener(ImageSourceStateListener listener) th
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -164,7 +164,7 @@ public void addResultReceiver(CapturedResultReceiver receiver) throws CaptureVis
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -184,7 +184,7 @@ public void removeResultReceiver(CapturedResultReceiver receiver) throws Capture
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -204,7 +204,7 @@ public void addResultFilter(CapturedResultFilter filter) throws CaptureVisionExc
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -254,11 +254,11 @@ Returns a `CaptureVisionError` object that contains error information.
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
-[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-error.html)
+[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-error.html)
## stopCapturing
diff --git a/programming/java/api-reference/capture-vision-router/settings.md b/programming/java/api-reference/capture-vision-router/settings.md
index 19c5895..4176029 100644
--- a/programming/java/api-reference/capture-vision-router/settings.md
+++ b/programming/java/api-reference/capture-vision-router/settings.md
@@ -39,11 +39,11 @@ Returns a `CaptureVisionError` object that contains error information.
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
-[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-error.html)
+[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-error.html)
## initSettingsFromFile
@@ -63,11 +63,11 @@ Returns a `CaptureVisionError` object that contains error information.
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
-[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-error.html)
+[CaptureVisionError]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-error.html)
## outputSettings
@@ -98,7 +98,7 @@ Returns a string containing the exported template.
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
## outputSettingsToFile
@@ -127,7 +127,7 @@ public void outputSettingsToFile(String templateName, String filePath, boolean i
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
## getSimplifiedSettings
@@ -154,7 +154,7 @@ Returns a `SimplifiedCaptureVisionSettings` object containing all settings.
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -183,7 +183,7 @@ public void updateSettings(String templateName, SimplifiedCaptureVisionSettings
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
**See Also**
@@ -199,7 +199,7 @@ public void resetSettings() throws CaptureVisionException
**Exceptions**
-[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/auxiliary-classes/capture-vision-exception.html)
+[`CaptureVisionException`]({{ site.dcvb_java_api }}capture-vision-router/capture-vision-exception.html)
## getParameterTemplateCount
diff --git a/programming/java/api-reference/core/core-error.md b/programming/java/api-reference/core/core-error.md
new file mode 100644
index 0000000..b3727bf
--- /dev/null
+++ b/programming/java/api-reference/core/core-error.md
@@ -0,0 +1,56 @@
+---
+layout: default-layout
+title: CoreError Class - Dynamsoft Core Module Java Edition API Reference
+description: Definition of CoreError class in Dynamsoft Core Module Java Edition.
+keywords: core module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# CoreError
+
+The `CoreError` class represents an error object that contains error code and error string information. This class is used to provide detailed error information within the Dynamsoft SDK.
+
+## Definition
+
+*Package:* com.dynamsoft.core
+
+```java
+public class CoreError
+```
+
+## Methods
+
+| Method | Description |
+| ------ | ----------- |
+| [`getErrorCode()`](#geterrorcode) | Returns the error code. |
+| [`getErrorString()`](#geterrorstring) | Returns the error string. |
+
+### getErrorCode()
+
+Returns the error code.
+
+```java
+public int getErrorCode()
+```
+
+**Return Value**
+
+The error code as an integer value.
+
+**See Also**
+
+[EnumErrorCode]({{ site.dcvb_java_api }}core/enum-error-code.html)
+
+### getErrorString()
+
+Returns the error string associated with the error code.
+
+```java
+public String getErrorString()
+```
+
+**Return Value**
+
+The error string that provides additional details about the error.
+
diff --git a/programming/java/api-reference/core/core-exception.md b/programming/java/api-reference/core/core-exception.md
new file mode 100644
index 0000000..f965d76
--- /dev/null
+++ b/programming/java/api-reference/core/core-exception.md
@@ -0,0 +1,64 @@
+---
+layout: default-layout
+title: CoreException Class - Dynamsoft Core Module Java Edition API Reference
+description: Definition of CoreException class in Dynamsoft Core Module Java Edition.
+keywords: core module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# CoreException
+
+The `CoreException` class is the base exception class used by Dynamsoft SDK modules. This class extends the standard Java `Exception` class and provides additional error code and error string information for more detailed error handling.
+
+## Definition
+
+*Package:* com.dynamsoft.core
+
+```java
+public class CoreException extends Exception
+```
+
+## Inheritance
+
+`CoreException` -> `Exception` -> `Throwable`
+
+## Methods
+
+| Method | Description |
+| ------ | ----------- |
+| [`getErrorCode()`](#geterrorcode) | Returns the error code associated with the exception. |
+| [`getErrorString()`](#geterrorstring) | Returns the error string associated with the exception. |
+
+### getErrorCode()
+
+Returns the error code associated with the exception.
+
+```java
+public int getErrorCode()
+```
+
+**Return Value**
+
+The error code as an integer value.
+
+**See Also**
+
+[EnumErrorCode]({{ site.dcvb_java_api }}core/enum-error-code.html)
+
+### getErrorString()
+
+Returns the error string associated with the exception.
+
+```java
+public String getErrorString()
+```
+
+**Return Value**
+
+The error string that provides additional details about the error.
+
+## Inherited Members
+
+Since `CoreException` extends `Exception`, it also inherits all standard exception methods such as `getMessage()`, `getCause()`, `printStackTrace()`, etc.
+
diff --git a/programming/java/api-reference/license/license-error.md b/programming/java/api-reference/license/license-error.md
new file mode 100644
index 0000000..640aeeb
--- /dev/null
+++ b/programming/java/api-reference/license/license-error.md
@@ -0,0 +1,32 @@
+---
+layout: default-layout
+title: LicenseError Class - Dynamsoft License Module Java Edition API Reference
+description: Definition of LicenseError class in Dynamsoft License Module Java Edition.
+keywords: license module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# LicenseError
+
+The `LicenseError` class represents an error object that contains error code and error string information. This class extends [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html) and provides specific error handling for license operations.
+
+## Definition
+
+*Package:* com.dynamsoft.license
+
+```java
+public class LicenseError extends CoreError
+```
+
+## Inheritance
+
+`LicenseError` -> [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html)
+
+## Inherited Members
+
+Since `LicenseError` extends [`CoreError`]({{ site.dcvb_java_api }}core/core-error.html), it inherits all the properties and methods from the parent class, including:
+
+- `getErrorCode()` - Returns the error code.
+- `getErrorString()` - Returns the error string.
+
diff --git a/programming/java/api-reference/license/license-exception.md b/programming/java/api-reference/license/license-exception.md
new file mode 100644
index 0000000..d37d36c
--- /dev/null
+++ b/programming/java/api-reference/license/license-exception.md
@@ -0,0 +1,32 @@
+---
+layout: default-layout
+title: LicenseException Class - Dynamsoft License Module Java Edition API Reference
+description: Definition of LicenseException class in Dynamsoft License Module Java Edition.
+keywords: license module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# LicenseException
+
+The `LicenseException` class represents an exception that can be thrown by the Dynamsoft License module. This class extends [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html) and provides specific error handling for license operations.
+
+## Definition
+
+*Package:* com.dynamsoft.license
+
+```java
+public class LicenseException extends CoreException
+```
+
+## Inheritance
+
+`LicenseException` -> [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html)
+
+## Inherited Members
+
+Since `LicenseException` 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.
+
diff --git a/programming/java/api-reference/utility/utility-exception.md b/programming/java/api-reference/utility/utility-exception.md
new file mode 100644
index 0000000..8d023dc
--- /dev/null
+++ b/programming/java/api-reference/utility/utility-exception.md
@@ -0,0 +1,32 @@
+---
+layout: default-layout
+title: UtilityException Class - Dynamsoft Utility Module Java Edition API Reference
+description: Definition of UtilityException class in Dynamsoft Utility Module Java Edition.
+keywords: utility module, java
+needAutoGenerateSidebar: true
+needGenerateH3Content: true
+---
+
+# UtilityException
+
+The `UtilityException` class represents an exception that can be thrown by the Dynamsoft Utility module. This class extends [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html) and provides specific error handling for utility operations.
+
+## Definition
+
+*Package:* com.dynamsoft.utility
+
+```java
+public class UtilityException extends CoreException
+```
+
+## Inheritance
+
+`UtilityException` -> [`CoreException`]({{ site.dcvb_java_api }}core/core-exception.html)
+
+## Inherited Members
+
+Since `UtilityException` 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.
+