当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v5.0 API Specifications
TransactionRequiredException (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications
javax.persistence
Class TransactionRequiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.persistence.PersistenceException
javax.persistence.TransactionRequiredException
- All Implemented Interfaces:
- Serializable
public class TransactionRequiredException
- extends PersistenceException
Thrown by the persistence provider when a transaction is required but is not
active.
- Since:
- Java Persistence 1.0
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
TransactionRequiredException
public TransactionRequiredException()
- Constructs a new
TransactionRequiredException
exception
with null
as its detail message.
TransactionRequiredException
public TransactionRequiredException(String message)
- Constructs a new
TransactionRequiredException
exception
with the specified detail message.
- Parameters:
message
- the detail message.
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.