程序包 org.hibernate
类 HibernateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- javax.persistence.PersistenceException
-
- org.hibernate.HibernateException
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
ArchiveException,BatchFailedException,BeanIntrospectionException,BulkAccessorException,BulkAccessorException,CacheException,CallbackException,CannotBecomeEntityGraphException,CannotContainSubGraphException,ClassLoadingException,CommandAcceptanceException,ConfigurationException,EnhancementException,EntityActionVetoException,EntityMetamodel.ValueGenerationStrategyException,EventListenerRegistrationException,HibernateError,IdentifierGenerationException,IllegalIdentifierException,ImportScriptException,InFlightMetadataCollector.DuplicateSecondaryTableException,InstantiationException,IntegrationException,IntegrationException,InvalidGraphException,JDBCException,JndiException,JndiNameException,JtaPlatformException,JtaPlatformInaccessibleException,LazyInitializationException,LocalSynchronizationException,LockingStrategyException,MappingException,MultipleBagFetchException,NamedParametersNotSupportedException,NoMoreReturnsException,NonUniqueDiscoveredSqlAliasException,NonUniqueObjectException,NonUniqueResultException,NoSuchBeanException,NoSuchParameterException,NotInstrumentedException,NotYetReadyException,NullServiceException,NullSynchronizationException,NullSynchronizationException,ParameterMisuseException,ParameterRecognitionException,ParameterStrategyException,PersistenceUtilHelper.AttributeExtractionException,PersistentObjectException,PropertyAccessBuildingException,PropertyAccessException,PropertyAccessException,PropertyAccessSerializationException,PropertyValueException,QueryException,QuerySpaceUidNotRegisteredException,ResourceClosedException,SchemaExtractionException,SchemaManagementException,SerializationException,ServiceDependencyException,ServiceException,ServiceProxyGenerationException,SessionException,StaleStateException,StrategySelectionException,TenantIdentifierMismatchException,TooManyRowsAffectedException,TransactionException,TransactionRequiredForJoinException,TransientObjectException,TypeMismatchException,UnknownAccessTypeException,UnknownPersisterException,UnknownProfileException,UnknownServiceException,UnknownUnwrapTypeException,UnresolvableObjectException,UnsupportedLockAttemptException,UnsupportedOrmXsdVersionException,WrongClassException,XmlInfrastructureException,XmlInfrastructureException,XsdException
public class HibernateException extends javax.persistence.PersistenceExceptionThe base exception type for Hibernate exceptions. Note that allSQLExceptionswill be wrapped in some form ofJDBCException.- 作者:
- Gavin King
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 HibernateException(String message)Constructs a HibernateException using the given exception message.HibernateException(String message, Throwable cause)Constructs a HibernateException using the given message and underlying cause.HibernateException(Throwable cause)Constructs a HibernateException using the given message and underlying cause.
-
方法概要
-
-
-
构造器详细资料
-
HibernateException
public HibernateException(String message)
Constructs a HibernateException using the given exception message.- 参数:
message- The message explaining the reason for the exception
-
HibernateException
public HibernateException(Throwable cause)
Constructs a HibernateException using the given message and underlying cause.- 参数:
cause- The underlying cause.
-
-