public class ClassAlreadyExistsException extends Exception
Constructor and Description |
---|
ClassAlreadyExistsException(com.sun.codemodel.JType existingClass)
Creates a new exception where the given existing class was found to
conflict with an attempt to create a new class.
|
Modifier and Type | Method and Description |
---|---|
com.sun.codemodel.JType |
getExistingClass()
Gets the corresponding existing class that caused this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ClassAlreadyExistsException(com.sun.codemodel.JType existingClass)
existingClass
- the class already present on the classpath (or in the map of
classes to be generated) when attempt to create a new class
was made.Copyright © 2022. All rights reserved.