org.eclipse.ocl.examples.pivot
Interface ProblemHandler


public interface ProblemHandler

A ProblemHandler handles problems detected during the various lexical syntactic, semantic analysis and validation phases of source text processing. setParser should be invoked once the source text is available, then handleProblem for each problem and finally flush to send any accumulated problems to an appropriate recipient such as an error log or problem marker view. See AbstractProblemHandler for a default implementation of the per processing phase convenience methods and StringProblemHandler for a complete handler that just accumulates all problem reports as a string.


Nested Class Summary
static class ProblemHandler.Phase
          Standard processing phases for problem messages.
static class ProblemHandler.Severity
          Standard problem severities.