Class CompileException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.officefloor.compile.impl.issues.CompileException
-
- All Implemented Interfaces:
java.io.Serializable
public class CompileException extends java.lang.ExceptionCompileException.- Author:
- Daniel Sagenschneider
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompileException(DefaultCompilerIssue issue)Instantiate.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultCompilerIssuegetCompilerIssue()Obtains theCompilerIssue.java.lang.StackTraceElement[]getStackTrace()static voidprintIssue(DefaultCompilerIssue issue, java.io.PrintStream out)Prints theDefaultCompilerIssueto thePrintStream.static voidprintIssue(DefaultCompilerIssue issue, java.io.PrintWriter out)Prints theDefaultCompilerIssueto thePrintWriter.voidprintStackTrace()voidprintStackTrace(java.io.PrintStream stream)voidprintStackTrace(java.io.PrintWriter writer)static java.lang.StringtoIssueString(DefaultCompilerIssue issue)Obtains theDefaultCompilerIssueas string.java.lang.StringtoString()
-
-
-
Constructor Detail
-
CompileException
public CompileException(DefaultCompilerIssue issue)
Instantiate.- Parameters:
issue-DefaultCompilerIssue.
-
-
Method Detail
-
toIssueString
public static java.lang.String toIssueString(DefaultCompilerIssue issue)
Obtains theDefaultCompilerIssueas string.- Parameters:
issue-DefaultCompilerIssue.- Returns:
- Text details of the
DefaultCompilerIssue.
-
printIssue
public static void printIssue(DefaultCompilerIssue issue, java.io.PrintStream out)
Prints theDefaultCompilerIssueto thePrintStream.- Parameters:
issue-DefaultCompilerIssue.out-PrintStream.
-
printIssue
public static void printIssue(DefaultCompilerIssue issue, java.io.PrintWriter out)
Prints theDefaultCompilerIssueto thePrintWriter.- Parameters:
issue-DefaultCompilerIssue.out-PrintWriter.
-
getCompilerIssue
public DefaultCompilerIssue getCompilerIssue()
Obtains theCompilerIssue.- Returns:
CompilerIssue.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Throwable
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintStream stream)
- Overrides:
printStackTracein classjava.lang.Throwable
-
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
- Overrides:
printStackTracein classjava.lang.Throwable
-
getStackTrace
public java.lang.StackTraceElement[] getStackTrace()
- Overrides:
getStackTracein classjava.lang.Throwable
-
-