Package org.hibernate

Class InstantiationException

    • Constructor Detail

      • InstantiationException

        public InstantiationException​(String message,
                                      Class clazz,
                                      Throwable cause)
        Constructs a InstantiationException.
        Parameters:
        message - A message explaining the exception condition
        clazz - The Class we are attempting to instantiate
        cause - The underlying exception
      • InstantiationException

        public InstantiationException​(String message,
                                      Class clazz)
        Constructs a InstantiationException.
        Parameters:
        message - A message explaining the exception condition
        clazz - The Class we are attempting to instantiate
      • InstantiationException

        public InstantiationException​(String message,
                                      Class clazz,
                                      Exception cause)
        Constructs a InstantiationException.
        Parameters:
        message - A message explaining the exception condition
        clazz - The Class we are attempting to instantiate
        cause - The underlying exception
    • Method Detail

      • getPersistentClass

        @Deprecated
        public Class getPersistentClass()
        Deprecated.
        Returns the Class we were attempting to instantiate.
        Returns:
        The class we are unable to instantiate
      • getUninstantiatableClass

        public Class getUninstantiatableClass()
        Returns the Class we were attempting to instantiate.
        Returns:
        The class we are unable to instantiate