| java.lang.Object org.netbeans.modules.refactoring.api.Problem
Problem | final public class Problem (Code) | | 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.
author: Martin Matula |
Constructor Summary | |
public | Problem(boolean fatal, String message) Creates new instance of Problem class. | public | Problem(boolean fatal, String message, ProblemDetails details) Creates new instance of Problem class. |
Problem | public Problem(boolean fatal, String message)(Code) | | Creates new instance of Problem class.
Parameters: fatal - Indicates whether the problem is fatal. Parameters: message - Textual description of the problem. |
Problem | public Problem(boolean fatal, String message, ProblemDetails details)(Code) | | Creates new instance of Problem class.
Parameters: fatal - Indicates whether the problem is fatal. Parameters: message - Textual description of the problem. Parameters: details - Problem details See Also: ProblemDetails |
getDetails | public ProblemDetails getDetails()(Code) | | Getter for ProblemDetails
instance of ProblemDetails or null |
getMessage | public String getMessage()(Code) | | Returns textual description of the problem.
Textual description of the problem. |
getNext | public Problem getNext()(Code) | | Returns the following problem (or null if there none).
The following problem. |
isFatal | public boolean isFatal()(Code) | | Indicates whether the problem is fatal.
true if the problem is fatal, otherwise returns false . |
setNext | public void setNext(Problem next) throws IllegalStateException(Code) | | Sets the following problem. The problem can be set only once - subsequent
attempts to call this method will result in IllegalStateException.
Parameters: next - The following problem. throws: java.lang.IllegalStateException - subsequent attempts to call this method will result in IllegalStateException. |
|
|