Package org.apache.groovy.util

# Class JavaShellCompilationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
org.apache.groovy.util.JavaShellCompilationException

All Implemented Interfaces:
  `Serializable`

public class JavaShellCompilationException extends GroovyRuntimeException
Indicates that `JavaShell` could not compile the supplied Java source.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JavaShellCompilationException(String message)`
  Creates a new compilation exception with the compiler output.

- ## Method Summary

  ### Methods inherited from class groovy.lang.GroovyRuntimeException

  `getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule`

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### JavaShellCompilationException

    public JavaShellCompilationException(String message)
    Creates a new compilation exception with the compiler output.
    Parameters:
      `message` - the compiler diagnostics