| Java Doc By Examples | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectjava.lang.Throwablejava.lang.Exceptionjava.io.IOExceptionjava.rmi.RemoteExceptionjavax.transaction.TransactionRequiredExceptionpublic class TransactionRequiredExceptionextends RemoteExceptionField Summary |
Fields inherited from class java.rmi.RemoteException | |
detail | |
Constructor Summary | |
| |
| |
Method Summary |
Methods inherited from class java.rmi.RemoteException | |
getCause, getMessage | |
Methods inherited from class java.lang.Throwable | |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | |
Methods inherited from class java.lang.Object | |
clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait | |
public TransactionRequiredException()
Constructs anIOExceptionwithnullas its error detail message.
1: if ( context.clientTx == null ){ 2: throw new ApplicationException(new javax.transaction.TransactionRequiredException()); 3: } 4: 5: context.currentTx = context.clientTx;
public TransactionRequiredException(String msg)
Constructs anIOExceptionwith the specified detail message. The error message stringscan later be retrieved by themethod of classThrowable.getMessage()java.lang.Throwable.
- Parameters: