public final class BugItem extends Object
| Constructor and Description |
|---|
BugItem(List<NodeBase> msg)
Create a bug item with a set of UI Nodes to show as the message.
|
BugItem(String message)
Create a bug item with a simple String message.
|
BugItem(String message,
Throwable exception)
Create a bug item from text and exception.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException()
Return the exception if the bug has one.
|
List<NodeBase> |
getFormattedMsg()
If the bug was created with a set of nodes to render this returns those nodes.
|
Exception |
getLocation()
Return an exception which marks the location of the bug.
|
String |
getMessage()
Return the error as a string.
|
int |
getNumber()
Return the #of the bug in this set.
|
Date |
getTimestamp()
Return the timestamp the bug occured on.
|
void |
setNumber(int number) |
String |
toString() |
public BugItem(@Nonnull String message)
message - public BugItem(List<NodeBase> msg)
msg - @Nullable public Throwable getException()
@Nonnull public Exception getLocation()
public int getNumber()
public void setNumber(int number)
@Nullable public List<NodeBase> getFormattedMsg()
Copyright © 2017 etc.to. All rights reserved.