类的使用
org.springframework.transaction.TransactionUsageException
使用TransactionUsageException的程序包 程序包 说明 org.springframework.transaction Spring's core transaction management APIs (independent of any specific transaction management system); an exception hierarchy for Spring's transaction infrastructure; and transaction manager, definition, and status interfaces.org.springframework.transaction中TransactionUsageException的使用
org.springframework.transaction中TransactionUsageException的子类 修饰符和类型 类 说明 class
IllegalTransactionStateException
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.class
InvalidIsolationLevelException
Exception that gets thrown when an invalid isolation level is specified, i.e. an isolation level that the transaction manager implementation doesn't support.class
InvalidTimeoutException
Exception that gets thrown when an invalid timeout is specified, that is, the specified timeout valid is out of range or the transaction manager implementation doesn't support timeouts.class
NoTransactionException
Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction.