|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.report.data.ReportProblem
public final class ReportProblem
Stores a problem found by the report builder.
Constructor Summary | |
---|---|
ReportProblem(String message) Convenience constructor without a root cause. |
|
ReportProblem(String message, Throwable cause) Default constructor. |
|
ReportProblem(Throwable cause) Convenience constructor to use the message of the root cause. |
Method Summary | |
---|---|
Throwable |
getCause() Returns the optional root cause to the problem. |
String |
getMessage() Returns the message to the problem. |
String |
toString() Returns the string representation of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReportProblem(Throwable cause)
cause
- the optional root cause to the problem.
public ReportProblem(String message)
message
- the message to the problem.
public ReportProblem(String message, Throwable cause)
message
- the message to the problem.
cause
- the optional root cause to the problem.
Method Detail |
---|
public String getMessage()
public Throwable getCause()
public String toString()
toString
in class
Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |