Package: org.codehaus.groovy.classgen

## [Java] Class ClassGeneratorException

- org.codehaus.groovy.classgen.ClassGeneratorException

-     public class ClassGeneratorException
      extends RuntimeException

  An exception thrown by the class generator

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ClassGeneratorException(String message)` Creates a new class generator exception with the specified message.
    `ClassGeneratorException(String message, Throwable cause)` Creates a new class generator exception with the specified message and cause.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class RuntimeException` | `addSuppressed, equals, fillInStackTrace, getCause, getClass, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, hashCode, initCause, notify, notifyAll, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public ClassGeneratorException(String message)

      Creates a new class generator exception with the specified message.

      Parameters:
        `message` - the detail message

    - #### public ClassGeneratorException(String message, Throwable cause)

      Creates a new class generator exception with the specified message and cause.

      Parameters:
        `message` - the detail message
        `cause` - the underlying cause of this exception