public class ValidationWarning extends Object
Constructor and Description |
---|
ValidationWarning(int code,
Object... args)
Creates a new validation warning.
|
ValidationWarning(String message)
Creates a new validation warning.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
Gets the validation warning code.
|
String |
getMessage()
Gets the validation warning message
|
String |
toString() |
public ValidationWarning(String message)
message
- the warning messagepublic ValidationWarning(int code, Object... args)
code
- the warning message codeargs
- the warning message argumentspublic Integer getCode()
public String getMessage()
Copyright © 2012–2023 Michael Angstadt. All rights reserved.