public class Warning extends Object
Constructor and Description |
---|
Warning(int code,
Object... args)
Creates a new warning whose message text is defined in the resource
bundle.
|
Warning(String message)
Creates a new warning.
|
Warning(String message,
Integer code)
Creates a new warning.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getCode()
Gets the warning code.
|
String |
getMessage()
Gets the warning message
|
String |
toString() |
public Warning(String message)
message
- the warning messagepublic Warning(int code, Object... args)
code
- the message codeargs
- the message argumentsThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.