Class FailCompilerIssues
- java.lang.Object
-
- net.officefloor.compile.impl.issues.AbstractCompilerIssues
-
- net.officefloor.compile.impl.issues.FailCompilerIssues
-
- All Implemented Interfaces:
CompilerIssues
public class FailCompilerIssues extends AbstractCompilerIssues
CompilerIssues
that fails on an issue.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description FailCompilerIssues()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OfficeFloor
compile(OfficeFloorCompiler compiler, java.lang.String officeFloorName)
Compiles with exception of first issue.protected void
handleDefaultIssue(DefaultCompilerIssue issue)
Implement to handleDefaultCompilerIssue
.-
Methods inherited from class net.officefloor.compile.impl.issues.AbstractCompilerIssues
addIssue, addIssue, captureIssues, createCompilerIssue, handleIssue
-
-
-
-
Method Detail
-
compile
public static OfficeFloor compile(OfficeFloorCompiler compiler, java.lang.String officeFloorName) throws CompileException
Compiles with exception of first issue.- Parameters:
compiler
-OfficeFloorCompiler
.officeFloorName
-OfficeFloor
name.- Returns:
OfficeFloor
.- Throws:
CompileException
- If fails to compile.
-
handleDefaultIssue
protected void handleDefaultIssue(DefaultCompilerIssue issue)
Description copied from class:AbstractCompilerIssues
Implement to handleDefaultCompilerIssue
.- Specified by:
handleDefaultIssue
in classAbstractCompilerIssues
- Parameters:
issue
-DefaultCompilerIssue
.
-
-