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
public class CoreException extends Exception
Inheritance
CoreException -> Exception -> Throwable
Methods
| Method | Description |
|---|---|
getErrorCode() |
Returns the error code associated with the exception. |
getErrorString() |
Returns the error string associated with the exception. |
getErrorCode()
Returns the error code associated with the exception.
public int getErrorCode()
Return Value
The error code as an integer value.
See Also
getErrorString()
Returns the error string associated with the exception.
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.