Package net.officefloor.compile.issues
Interface SourceIssues
-
- All Known Subinterfaces:
ManagedFunctionAugmentorContext
,ManagedObjectSourceAugmentorContext
,OfficeArchitect
,OfficeFloorDeployer
,OfficeFloorNode
,OfficeNode
,SectionDesigner
,SectionNode
,TeamAugmentorContext
- All Known Implementing Classes:
OfficeFloorNodeImpl
,OfficeNodeImpl
,SectionNodeImpl
,TransformSectionDesigner
,WebTemplateLoaderImpl
public interface SourceIssues
Provides means to raiseCompilerIssue
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompileError
addIssue(java.lang.String issueDescription)
Allows the source to add an issue.CompileError
addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
Allows the source to add an issue along with its cause.
-
-
-
Method Detail
-
addIssue
CompileError addIssue(java.lang.String issueDescription)
Allows the source to add an issue.
This is available to report invalid configuration.
- Parameters:
issueDescription
- Description of the issue.- Returns:
CompileError
to be used inthrow
statement when addingCompilerIssue
to avoid further compiling.
-
addIssue
CompileError addIssue(java.lang.String issueDescription, java.lang.Throwable cause)
Allows the source to add an issue along with its cause.
This is available to report invalid configuration.
- Parameters:
issueDescription
- Description of the issue.cause
- Cause of the issue.- Returns:
CompileError
to be used inthrow
statement when addingCompilerIssue
to avoid further compiling.
-
-