|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectezvcard.Warning
public class Warning
Represents a warning.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
Integer |
getCode()
Gets the warning code. |
String |
getMessage()
Gets the warning message |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Warning(String message)
message
- the warning messagepublic Warning(int code, Object... args)
code
- the message codeargs
- the message argumentspublic Warning(String message, Integer code)
message
- the warning messagecode
- the message codeMethod Detail |
---|
public Integer getCode()
public String getMessage()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |