BarCodeException
BarCodeException class
Module: aspose_barcode.core.exceptions
Inherits: Exception
Represents the exception for creating barcode image.
Constructors
| Name | Description |
|---|---|
| init | Initializes a new instance of the BarCodeException class with specified error message. |
Methods
| Name | Return Type | Static | Description |
|---|---|---|---|
| getMessage | Optional[str] | No | Gets message. |
| MAX_LINES | int | Yes | |
| setMessage | None | No | Sets message. |
BarCodeException Constructor
__init__(self, Union[str, Exception] exc)
Initializes a new instance of the BarCodeException class with specified error message.
| Parameter | Type | Description |
|---|---|---|
exc | Union[str, Exception] |
BarCodeException.getMessage
getMessage(self) -> Optional[str]
Gets message.
Return Type: Optional[str]
BarCodeException.MAX_LINES (static)
MAX_LINES() -> int
Return Type: int
BarCodeException.setMessage
setMessage(self, str message)
Sets message.
| Parameter | Type | Description |
|---|---|---|
message | str |