WarningInfo
Inheritance: java.lang.Object
public final class WarningInfo
Immutable object for encapsulating warning information.
Constructors
| Constructor | Description |
|---|---|
| WarningInfo(int type, String message) | Constructs instance for gathering information. |
Methods
| Method | Description |
|---|---|
| getWarningMessage() | Returns string representation of warning message. |
| getWarningTypeProperty() | Returns warning type. |
WarningInfo(int type, String message)
public WarningInfo(int type, String message)
Constructs instance for gathering information.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| type | int | the warning type to set |
| message | java.lang.String | the warning message to set |
getWarningMessage()
public String getWarningMessage()
Returns string representation of warning message.
Returns: java.lang.String - the warning message
getWarningTypeProperty()
public int getWarningTypeProperty()
Returns warning type.
Returns: int - the warning type