Class FeatureMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
org.hibernate.bytecode.enhance.spi.EnhancementException
org.hibernate.bytecode.enhance.internal.bytebuddy.FeatureMismatchException
- All Implemented Interfaces:
Serializable
Indicates a mismatch in either dirty tracking
or association management
between consecutive attempts to enhance a class.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFeatureMismatchException(String className, FeatureMismatchException.Feature mismatchedFeature, boolean previousValue) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckFeatureEnablement(net.bytebuddy.description.type.TypeDescription managedCtClass, FeatureMismatchException.Feature feature, boolean currentlyEnabled, boolean previouslyEnabled) booleanMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FeatureMismatchException
public FeatureMismatchException(String className, FeatureMismatchException.Feature mismatchedFeature, boolean previousValue)
-
-
Method Details
-
getClassName
-
getMismatchedFeature
-
wasPreviouslyEnabled
public boolean wasPreviouslyEnabled() -
checkFeatureEnablement
public static void checkFeatureEnablement(net.bytebuddy.description.type.TypeDescription managedCtClass, FeatureMismatchException.Feature feature, boolean currentlyEnabled, boolean previouslyEnabled)
-