-
-
Constructor Summary
Constructors
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.
|
-
-
Constructor Detail
-
Warning
public Warning(int code,
Object... args)
Creates a new warning whose message text is defined in the resource
bundle.
- Parameters:
code
- the message codeargs
- the message arguments
-
Method Detail
-
getCode
public Integer getCode()
Gets the warning code.
- Returns:
- the warning code or null if no code was specified
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.