Class NonSerializableObjectException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.persistence.PersistenceException
org.hibernate.HibernateException
io.hypersistence.utils.hibernate.type.util.NonSerializableObjectException
All Implemented Interfaces:
Serializable

public class NonSerializableObjectException extends org.hibernate.HibernateException
The NonSerializableObjectException is thrown when the framework wants to serialize a given Object, but the Object itself or its inner children are not Serializable.
Since:
3.15.2
Author:
Vlad Mihalcea
See Also:
  • Constructor Details

    • NonSerializableObjectException

      public NonSerializableObjectException(Object object)
    • NonSerializableObjectException

      public NonSerializableObjectException(Object object, @Nullable Throwable cause)
  • Method Details

    • getObject

      public Object getObject()