Class CompileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.officefloor.compile.impl.issues.CompileException
- All Implemented Interfaces:
Serializable
Compile
Exception.- Author:
- Daniel Sagenschneider
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains theCompilerIssue.static voidprintIssue(DefaultCompilerIssue issue, PrintStream out) Prints theDefaultCompilerIssueto thePrintStream.static voidprintIssue(DefaultCompilerIssue issue, PrintWriter out) Prints theDefaultCompilerIssueto thePrintWriter.voidvoidprintStackTrace(PrintStream stream) voidprintStackTrace(PrintWriter writer) static StringObtains theDefaultCompilerIssueas string.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
CompileException
Instantiate.- Parameters:
issue-DefaultCompilerIssue.
-
-
Method Details
-
toIssueString
Obtains theDefaultCompilerIssueas string.- Parameters:
issue-DefaultCompilerIssue.- Returns:
- Text details of the
DefaultCompilerIssue.
-
printIssue
Prints theDefaultCompilerIssueto thePrintStream.- Parameters:
issue-DefaultCompilerIssue.out-PrintStream.
-
printIssue
Prints theDefaultCompilerIssueto thePrintWriter.- Parameters:
issue-DefaultCompilerIssue.out-PrintWriter.
-
getCompilerIssue
Obtains theCompilerIssue.- Returns:
CompilerIssue.
-
toString
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
printStackTrace
- Overrides:
printStackTracein classThrowable
-
getStackTrace
- Overrides:
getStackTracein classThrowable
-