- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JClassAlreadyExistsException(JDefinedClass _existing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JDefinedClass
getExistingClass()
Gets a reference to the existingJDefinedClass
.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
JClassAlreadyExistsException
public JClassAlreadyExistsException(JDefinedClass _existing)
-
-
Method Detail
-
getExistingClass
public JDefinedClass getExistingClass()
Gets a reference to the existingJDefinedClass
.- Returns:
- This method always return non-null valid object.
-
-