public final class WarningInfo extends Object
Immutable object for encapsulating warning information.
Constructor and Description |
---|
WarningInfo(int type,
String message)
Constructs instance for gathering information.
|
Modifier and Type | Method and Description |
---|---|
String |
getWarningMessage()
Returns string representation of warning message.
|
int |
getWarningTypeProperty()
Returns warning type.
|
public WarningInfo(int type, String message)
Constructs instance for gathering information.
type
- the warning type to setmessage
- the warning message to setpublic String getWarningMessage()
Returns string representation of warning message.
public int getWarningTypeProperty()
Returns warning type.