Package org.hibernate.bytecode.enhance
Class VersionMismatchException
- 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.VersionMismatchException
-
- All Implemented Interfaces:
Serializable
public class VersionMismatchException extends EnhancementException
Indicates that the version of Hibernate used to enhance a class is different from the version being used at runtime.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionMismatchException(net.bytebuddy.description.type.TypeDescription typeDescription, String enhancementVersion, String runtimeVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEnhancementVersion()
String
getRuntimeVersion()
String
getTypeName()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-