|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.bugs.BugItem
public final class BugItem
A single message reported through the bugs thing.
Constructor Summary | |
---|---|
BugItem(java.util.List<NodeBase> msg)
Create a bug item with a set of UI Nodes to show as the message. |
|
BugItem(java.lang.String message)
Create a bug item with a simple String message. |
|
BugItem(java.lang.String message,
java.lang.Throwable exception)
Create a bug item from text and exception. |
Method Summary | |
---|---|
java.lang.Throwable |
getException()
Return the exception if the bug has one. |
java.util.List<NodeBase> |
getFormattedMsg()
If the bug was created with a set of nodes to render this returns those nodes. |
java.lang.Exception |
getLocation()
Return an exception which marks the location of the bug. |
java.lang.String |
getMessage()
Return the error as a string. |
int |
getNumber()
Return the #of the bug in this set. |
java.util.Date |
getTimestamp()
Return the timestamp the bug occured on. |
void |
setNumber(int number)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BugItem(@Nonnull java.lang.String message)
message
- public BugItem(java.util.List<NodeBase> msg)
msg
- public BugItem(@Nonnull java.lang.String message, @Nullable java.lang.Throwable exception)
message
- exception
- Method Detail |
---|
@Nonnull public java.util.Date getTimestamp()
@Nonnull public java.lang.String getMessage()
@Nullable public java.lang.Throwable getException()
@Nonnull public java.lang.Exception getLocation()
public int getNumber()
public void setNumber(int number)
@Nullable public java.util.List<NodeBase> getFormattedMsg()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |