org.apache.openjpa.util
Class NoTransactionException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           java.lang.RuntimeException
java.lang.RuntimeException
               org.apache.openjpa.util.OpenJPAException
org.apache.openjpa.util.OpenJPAException
                   org.apache.openjpa.util.UserException
org.apache.openjpa.util.UserException
                       org.apache.openjpa.util.InvalidStateException
org.apache.openjpa.util.InvalidStateException
                           org.apache.openjpa.util.NoTransactionException
org.apache.openjpa.util.NoTransactionException
- All Implemented Interfaces: 
- Serializable, ExceptionInfo
- public class NoTransactionException 
- extends InvalidStateException
Exception type thrown when attempting a transactional operation without
 an active transaction.
- Since:
- 0.4.0
- Author:
- Abe White
- See Also:
- Serialized Form
 
 
 
 
| Method Summary | 
|  int | getSubtype()Exception subtype.
 | 
 
 
| Methods inherited from class org.apache.openjpa.util.OpenJPAException | 
| getCause, getFailedObject, getNestedThrowables, isFatal, printStackTrace, printStackTrace, printStackTrace, setCause, setFailedObject, setFatal, setNestedThrowables, toString | 
 
 
 
 
NoTransactionException
public NoTransactionException(Localizer.Message msg)
getSubtype
public int getSubtype()
- Description copied from class: OpenJPAException
- Exception subtype.
 
- 
- Specified by:
- getSubtypein interface- ExceptionInfo
- Overrides:
- getSubtypein class- InvalidStateException
 
- 
 
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.