|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jini.tool.envcheck.Reporter.Message
public static class Reporter.Message
A container of message information to be processed by
Reporter
.
Constructor Summary | |
---|---|
Reporter.Message(int level,
String message,
String explanation)
Construct a Message having the given level
and text. |
|
Reporter.Message(int level,
String message,
Throwable thrownException,
String explanation)
Construct a Message having the given level,
text, and exception data. |
Method Summary | |
---|---|
protected boolean |
formatExplanation()
Returns the flag indicating whether to format the explanation text. |
protected String |
getExplanation()
Returns the explanation text. |
protected int |
getLevel()
Returns the message level. |
protected String |
getMessage()
Returns the short message text. |
protected void |
printStackTrace()
Prints a stack trace for the exception associated with this message. |
protected void |
setFormatExplanation(boolean b)
Set the flag indicating whether to format the explanation text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Reporter.Message(int level, String message, String explanation)
Message
having the given level
and text.
level
- the message levelmessage
- the short message textexplanation
- the explanation textpublic Reporter.Message(int level, String message, Throwable thrownException, String explanation)
Message
having the given level,
text, and exception data.
level
- the message levelmessage
- the short message textthrownException
- the exception associated with the messageexplanation
- the explanation textMethod Detail |
---|
protected int getLevel()
protected String getMessage()
null
exception
is associated with this message, the exception message is
appended to the short message.
protected String getExplanation()
protected void printStackTrace()
protected void setFormatExplanation(boolean b)
b
- if true
, format the textprotected boolean formatExplanation()
true
if the text is to be formatted.
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |