Package org.codehaus.groovy.classgen

# Class ClassGeneratorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.codehaus.groovy.classgen.ClassGeneratorException

All Implemented Interfaces:
  `Serializable`

public class ClassGeneratorException extends RuntimeException
An exception thrown by the class generator

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  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.

- ## Method Summary

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

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

  - ### ClassGeneratorException

    public ClassGeneratorException(String message)
    Creates a new class generator exception with the specified message.
    Parameters:
      `message` - the detail message

  - ### ClassGeneratorException

    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