Class DefaultCompilerIssue
- java.lang.Object
-
- net.officefloor.compile.impl.issues.DefaultCompilerIssue
-
- All Implemented Interfaces:
CompilerIssue
public class DefaultCompilerIssue extends java.lang.Object implements CompilerIssue
DefaultCompilerIssue
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description DefaultCompilerIssue(Node node, java.lang.String issueDescription, java.lang.Throwable cause, CompilerIssue[] causes)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getCause()
Obtains the optional cause.CompilerIssue[]
getCauses()
Obtains the optionalCompilerIssue
causes.java.lang.String
getIssueDescription()
Obtains the issue description.Node
getNode()
Obtains theNode
.
-
-
-
Constructor Detail
-
DefaultCompilerIssue
public DefaultCompilerIssue(Node node, java.lang.String issueDescription, java.lang.Throwable cause, CompilerIssue[] causes)
Instantiate.- Parameters:
node
-Node
.issueDescription
- Issue description.cause
- Optional cause. May benull
.causes
- OptionalCompilerIssue
causes.
-
-
Method Detail
-
getIssueDescription
public java.lang.String getIssueDescription()
Obtains the issue description.- Returns:
- Issue description.
-
getCause
public java.lang.Throwable getCause()
Obtains the optional cause.- Returns:
- Cause and may be
null
.
-
getCauses
public CompilerIssue[] getCauses()
Obtains the optionalCompilerIssue
causes.- Returns:
- Optional
CompilerIssue
causes.
-
-