public class ExceptionFactory extends Object
| Constructor and Description |
|---|
ExceptionFactory() |
| Modifier and Type | Method and Description |
|---|---|
jakarta.transaction.SystemException |
invalidStateException(int state) |
jakarta.transaction.SystemException |
newSystemException(Exception ex) |
jakarta.transaction.SystemException |
newSystemException(String str) |
jakarta.transaction.RollbackException |
rollbackException(SQLException sqlEx) |
protected String |
stackTraceString(Exception ex) |
jakarta.transaction.SystemException |
txActiveException() |
jakarta.transaction.SystemException |
txMarkedForRollbackException() |
jakarta.transaction.SystemException |
txNotActiveException() |
public jakarta.transaction.SystemException newSystemException(String str)
public jakarta.transaction.SystemException newSystemException(Exception ex)
public jakarta.transaction.RollbackException rollbackException(SQLException sqlEx)
public jakarta.transaction.SystemException txMarkedForRollbackException()
public jakarta.transaction.SystemException txActiveException()
public jakarta.transaction.SystemException txNotActiveException()
public jakarta.transaction.SystemException invalidStateException(int state)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.