Class FailTestCompilerIssues
- java.lang.Object
-
- net.officefloor.compile.impl.issues.AbstractCompilerIssues
-
- net.officefloor.compile.test.issues.FailTestCompilerIssues
-
- All Implemented Interfaces:
CompilerIssues
public class FailTestCompilerIssues extends AbstractCompilerIssues
CompilerIssues
that invokesTestCase.fail()
for issues raised.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FailTestCompilerIssues()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompileError
addIssue(Node node, java.lang.String issueDescription, java.lang.Throwable cause)
Adds an issue regarding a particularNode
.protected void
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handleDefaultCompilerIssue
.-
Methods inherited from class net.officefloor.compile.impl.issues.AbstractCompilerIssues
addIssue, captureIssues, createCompilerIssue, handleIssue
-
-
-
-
Method Detail
-
addIssue
public CompileError addIssue(Node node, java.lang.String issueDescription, java.lang.Throwable cause)
Description copied from interface:CompilerIssues
Adds an issue regarding a particularNode
.- Specified by:
addIssue
in interfaceCompilerIssues
- Overrides:
addIssue
in classAbstractCompilerIssues
- Parameters:
node
-Node
.issueDescription
- Description of the issue.cause
- Cause of the issue.- Returns:
CompileError
to be used inthrow
statement when addingCompilerIssue
to avoid further compiling of theNode
.
-
handleDefaultIssue
protected void handleDefaultIssue(DefaultCompilerIssue issue)
Description copied from class:AbstractCompilerIssues
Implement to handleDefaultCompilerIssue
.- Specified by:
handleDefaultIssue
in classAbstractCompilerIssues
- Parameters:
issue
-DefaultCompilerIssue
.
-
-