Class JClassAlreadyExistsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.codemodel.JClassAlreadyExistsException
All Implemented Interfaces:
Serializable

public class JClassAlreadyExistsException extends Exception
Indicates that the class is already created.
Author:
Kohsuke Kawaguchi ([email protected])
See Also:
  • Constructor Details

    • JClassAlreadyExistsException

      public JClassAlreadyExistsException(JDefinedClass _existing)
  • Method Details

    • getExistingClass

      public JDefinedClass getExistingClass()
      Gets a reference to the existing JDefinedClass.
      Returns:
      This method always return non-null valid object.