|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tdk.signaturetest.errors.ErrorFormatter.Message
public static class ErrorFormatter.Message
This class formats some error message reported by SignatureTest or other similar tests.
Field Summary | |
---|---|
java.lang.String |
className
Name of the class affected by this error message. |
java.lang.String |
definition
Class or class member affected by this error message. |
MemberDescription |
errorObject
Message templates for different error types. |
MessageType |
messageType
Type of this error message. |
java.lang.String |
tail
The tail to append to this error message. |
Constructor Summary | |
---|---|
ErrorFormatter.Message(MessageType error,
java.lang.String className,
java.lang.String definition,
java.lang.String tail,
MemberDescription errorObject)
Create new error message. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compare this Message to the given
Message ob . |
java.util.logging.Level |
getLevel()
|
java.lang.String |
getShortName(java.lang.String def)
Cut `` throws '' clause out off the given member
description def . |
void |
setLevel(java.util.logging.Level level)
|
java.lang.String |
toString()
Return string representing this Message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public MemberDescription errorObject
public java.lang.String className
this
error message.
public java.lang.String definition
this
error message.
public java.lang.String tail
this
error message.
public MessageType messageType
this
error message.
Constructor Detail |
---|
public ErrorFormatter.Message(MessageType error, java.lang.String className, java.lang.String definition, java.lang.String tail, MemberDescription errorObject)
Method Detail |
---|
public int compareTo(java.lang.Object o)
this
Message to the given
Message ob
.
Messages ordering is the following: errorType
fields as integers. errorType
fields are equal, than compare
className
fields. className
fields also equals, than compare
definition
fields.
compareTo
in interface java.lang.Comparable
public java.lang.String getShortName(java.lang.String def)
throws
'' clause out off the given member
description def
.
public java.lang.String toString()
this
Message.
toString
in class java.lang.Object
public java.util.logging.Level getLevel()
public void setLevel(java.util.logging.Level level)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |