Tabnine Logo
TransactionException.setInternalException
Code IndexAdd Tabnine to your IDE (free)

How to use
setInternalException
method
in
org.eclipse.persistence.exceptions.TransactionException

Best Java code snippets using org.eclipse.persistence.exceptions.TransactionException.setInternalException (Showing top 20 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

public static TransactionException errorBindingToExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BINDING_TO_TRANSACTION, args));
  ex.setErrorCode(ERROR_BINDING_TO_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorCommittingExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_COMMITTING_TRANSACTION, args));
  ex.setErrorCode(ERROR_COMMITTING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorRollingBackExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_ROLLING_BACK_TRANSACTION, args));
  ex.setErrorCode(ERROR_ROLLING_BACK_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorMarkingTransactionForRollback(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_MARKING_TRANSACTION_FOR_ROLLBACK, args));
  ex.setErrorCode(ERROR_MARKING_TRANSACTION_FOR_ROLLBACK);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorGettingExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_GETTING_TRANSACTION, args));
  ex.setErrorCode(ERROR_GETTING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorMarkingTransactionForRollback(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_MARKING_TRANSACTION_FOR_ROLLBACK, args));
  ex.setErrorCode(ERROR_MARKING_TRANSACTION_FOR_ROLLBACK);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException jndiLookupException(String jndiName, Exception internalException) {
  Object[] args = { jndiName };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_DOING_JNDI_LOOKUP, args));
  ex.setErrorCode(ERROR_DOING_JNDI_LOOKUP);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorBindingToExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BINDING_TO_TRANSACTION, args));
  ex.setErrorCode(ERROR_BINDING_TO_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: com.haulmont.thirdparty/eclipselink

public static TransactionException jndiLookupException(String jndiName, Exception internalException) {
  Object[] args = { jndiName };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_DOING_JNDI_LOOKUP, args));
  ex.setErrorCode(ERROR_DOING_JNDI_LOOKUP);
  ex.setInternalException(internalException);
  return ex;
}
origin: com.haulmont.thirdparty/eclipselink

public static TransactionException errorBeginningExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BEGINNING_TRANSACTION, args));
  ex.setErrorCode(ERROR_BEGINNING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException jndiLookupException(String jndiName, Exception internalException) {
  Object[] args = { jndiName };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_DOING_JNDI_LOOKUP, args));
  ex.setErrorCode(ERROR_DOING_JNDI_LOOKUP);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorBindingToExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BINDING_TO_TRANSACTION, args));
  ex.setErrorCode(ERROR_BINDING_TO_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorCommittingExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_COMMITTING_TRANSACTION, args));
  ex.setErrorCode(ERROR_COMMITTING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorRollingBackExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_ROLLING_BACK_TRANSACTION, args));
  ex.setErrorCode(ERROR_ROLLING_BACK_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: com.haulmont.thirdparty/eclipselink

public static TransactionException errorCommittingExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_COMMITTING_TRANSACTION, args));
  ex.setErrorCode(ERROR_COMMITTING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorGettingExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_GETTING_TRANSACTION, args));
  ex.setErrorCode(ERROR_GETTING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorBeginningExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BEGINNING_TRANSACTION, args));
  ex.setErrorCode(ERROR_BEGINNING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static TransactionException errorObtainingTransactionManager(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_OBTAINING_TRANSACTION_MANAGER, args));
  ex.setErrorCode(ERROR_OBTAINING_TRANSACTION_MANAGER);
  ex.setInternalException(internalException);
  return ex;
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorGettingExternalTransactionStatus(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_GETTING_TRANSACTION_STATUS, args));
  ex.setErrorCode(ERROR_GETTING_TRANSACTION_STATUS);
  ex.setInternalException(internalException);
  return ex;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static TransactionException errorBeginningExternalTransaction(Exception internalException) {
  Object[] args = {  };
  TransactionException ex = new TransactionException(ExceptionMessageGenerator.buildMessage(TransactionException.class, ERROR_BEGINNING_TRANSACTION, args));
  ex.setErrorCode(ERROR_BEGINNING_TRANSACTION);
  ex.setInternalException(internalException);
  return ex;
}
org.eclipse.persistence.exceptionsTransactionExceptionsetInternalException

Popular methods of TransactionException

  • <init>
  • errorBeginningExternalTransaction
  • errorBindingToExternalTransaction
  • errorCommittingExternalTransaction
  • errorGettingExternalTransaction
  • errorGettingExternalTransactionStatus
  • errorMarkingTransactionForRollback
  • errorObtainingTransactionManager
  • errorRollingBackExternalTransaction
  • externalTransactionNotActive
  • inactiveUnitOfWork
  • jndiLookupException
  • inactiveUnitOfWork,
  • jndiLookupException,
  • setErrorCode,
  • getErrorCode,
  • entityTransactionWithJTANotAllowed,
  • getMessage,
  • internalProxyException,
  • multipleResourceException,
  • transactionIsActive

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now