|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.analysis.javadoc.log.message.IssueMessage
public class IssueMessage
Contains one message reported by the Javadoc tool.
Constructor Summary | |
---|---|
IssueMessage(IssueLocation location, String message) Default constructor. |
|
IssueMessage(String message) Convenience constructor if no location can be determined. |
Method Summary | |
---|---|
IssueLocation |
getLocation() Returns the location of the issue. |
String |
getMessage() Returns the message text of the message. |
String |
toString() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IssueMessage(String message) throws NullPointerException, IllegalArgumentException
message
- the message text of the message.
NullPointerException
- if the
message
is
null
.
IllegalArgumentException
- if the message is the empty string or contains only whitespaces.
public IssueMessage(IssueLocation location, String message) throws NullPointerException, IllegalArgumentException
location
- the location of the issue. The location may be
null
if the location of the issue cannot be determined.
message
- the message text of the message.
NullPointerException
- if the
message
is
null
.
IllegalArgumentException
- if the message is the empty string or contains only whitespaces.
Method Detail |
---|
public IssueLocation getLocation()
null
if the location of the issue cannot be determined.
public String getMessage()
public String toString()
toString
in class
Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |