|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.refactoring.api.Problem
public final class Problem
Class used to represent problems encountered when performing various refactoring calls. Problems can be chained (using setNext method) - every problem can point to the following problem.
Constructor Summary | |
---|---|
Problem(boolean fatal,
String message)
Creates new instance of Problem class. |
|
Problem(boolean fatal,
String message,
ProblemDetails details)
Creates new instance of Problem class. |
Method Summary | |
---|---|
ProblemDetails |
getDetails()
Getter for ProblemDetails |
String |
getMessage()
Returns textual description of the problem. |
Problem |
getNext()
Returns the following problem (or null if there none). |
boolean |
isFatal()
Indicates whether the problem is fatal. |
void |
setNext(Problem next)
Sets the following problem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Problem(boolean fatal, String message)
fatal
- Indicates whether the problem is fatal.message
- Textual description of the problem.public Problem(boolean fatal, String message, ProblemDetails details)
fatal
- Indicates whether the problem is fatal.message
- Textual description of the problem.details
- Problem detailsProblemDetails
Method Detail |
---|
public boolean isFatal()
true
if the problem is fatal, otherwise returns false
.public String getMessage()
public Problem getNext()
null
if there none).
public void setNext(Problem next) throws IllegalStateException
next
- The following problem.
IllegalStateException
- subsequent attempts to call this method will result in IllegalStateException.public ProblemDetails getDetails()
|
org.netbeans.modules.refactoring.api 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |