Codota Logo
ConcurrencyException.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.eclipse.persistence.exceptions.ConcurrencyException
constructor

Best Java code snippets using org.eclipse.persistence.exceptions.ConcurrencyException.<init> (Showing top 20 results out of 315)

  • Common ways to obtain ConcurrencyException
private void myMethod () {
ConcurrencyException c =
  • Codota IconConcurrencyException.signalAttemptedBeforeWait()
  • Codota IconInterruptedException interruptedException;ConcurrencyException.waitWasInterrupted(interruptedException.getMessage())
  • Codota IconObject[] arguments;new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, errorNumber, arguments))
  • Smart code suggestions by Codota
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException waitFailureOnClientSession(InterruptedException exception) {
  Object[] args = {  };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_FAILURE_CLIENT, args), exception);
  concurrencyException.setErrorCode(WAIT_FAILURE_CLIENT);
  return concurrencyException;
}
origin: com.haulmont.thirdparty/eclipselink

public static ConcurrencyException activeLockAlreadyTransitioned(Thread currentThread) {
  Object[] args = { currentThread};
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, ACTIVE_LOCK_ALREADY_TRANSITIONED, args));
  concurrencyException.setErrorCode(ACTIVE_LOCK_ALREADY_TRANSITIONED);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException waitFailureOnSequencingForDatabaseSession(InterruptedException exception) {
  Object[] args = {  };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_FAILURE_SEQ_DATABASE_SESSION, args), exception);
  concurrencyException.setErrorCode(WAIT_FAILURE_SEQ_DATABASE_SESSION);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException waitFailureOnServerSession(InterruptedException exception) {
  Object[] args = {  };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_FAILURE_SERVER, args), exception);
  concurrencyException.setErrorCode(WAIT_FAILURE_SERVER);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  public static ConcurrencyException sequencingMultithreadThruConnection(String accessor) {
    Object[] args = { accessor };

    ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, SEQUENCING_MULTITHREAD_THRU_CONNECTION, args));
    concurrencyException.setErrorCode(SEQUENCING_MULTITHREAD_THRU_CONNECTION);
    return concurrencyException;
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  public static ConcurrencyException sequencingMultithreadThruConnection(String accessor) {
    Object[] args = { accessor };

    ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, SEQUENCING_MULTITHREAD_THRU_CONNECTION, args));
    concurrencyException.setErrorCode(SEQUENCING_MULTITHREAD_THRU_CONNECTION);
    return concurrencyException;
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException waitFailureOnSequencingForDatabaseSession(InterruptedException exception) {
  Object[] args = {  };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_FAILURE_SEQ_DATABASE_SESSION, args), exception);
  concurrencyException.setErrorCode(WAIT_FAILURE_SEQ_DATABASE_SESSION);
  return concurrencyException;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException signalAttemptedBeforeWait() {
  Object[] args = { CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, SIGNAL_ATTEMPTED_BEFORE_WAIT, args));
  concurrencyException.setErrorCode(SIGNAL_ATTEMPTED_BEFORE_WAIT);
  return concurrencyException;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException waitWasInterrupted(String message) {
  Object[] args = { CR, message };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_WAS_INTERRUPTED, args));
  concurrencyException.setErrorCode(WAIT_WAS_INTERRUPTED);
  return concurrencyException;
}
origin: com.haulmont.thirdparty/eclipselink

public static ConcurrencyException waitWasInterrupted(String message) {
  Object[] args = { CR, message };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_WAS_INTERRUPTED, args));
  concurrencyException.setErrorCode(WAIT_WAS_INTERRUPTED);
  return concurrencyException;
}
origin: com.haulmont.thirdparty/eclipselink

public static ConcurrencyException maxTriesLockOnCloneExceded(Object objectToClone) {
  Object[] args = { objectToClone, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException waitWasInterrupted(String message) {
  Object[] args = { CR, message };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_WAS_INTERRUPTED, args));
  concurrencyException.setErrorCode(WAIT_WAS_INTERRUPTED);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread) {
  Object[] args = { cacheKeyThread, currentThread, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT);
  return concurrencyException;
}
origin: com.haulmont.thirdparty/eclipselink

public static ConcurrencyException waitFailureOnClientSession(InterruptedException exception) {
  Object[] args = {  };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, WAIT_FAILURE_CLIENT, args), exception);
  concurrencyException.setErrorCode(WAIT_FAILURE_CLIENT);
  return concurrencyException;
}
origin: com.haulmont.thirdparty/eclipselink

public static ConcurrencyException maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread) {
  Object[] args = { cacheKeyThread, currentThread, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException activeLockAlreadyTransitioned(Thread currentThread) {
  Object[] args = { currentThread};
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, ACTIVE_LOCK_ALREADY_TRANSITIONED, args));
  concurrencyException.setErrorCode(ACTIVE_LOCK_ALREADY_TRANSITIONED);
  return concurrencyException;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

public static ConcurrencyException signalAttemptedBeforeWait() {
  Object[] args = { CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, SIGNAL_ATTEMPTED_BEFORE_WAIT, args));
  concurrencyException.setErrorCode(SIGNAL_ATTEMPTED_BEFORE_WAIT);
  return concurrencyException;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException maxTriesLockOnMergeExceded(Object objectToClone) {
  Object[] args = { objectToClone, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_MERGE);
  return concurrencyException;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException maxTriesLockOnBuildObjectExceded(Thread cacheKeyThread, Thread currentThread) {
  Object[] args = { cacheKeyThread, currentThread, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_BUILD_OBJECT);
  return concurrencyException;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static ConcurrencyException maxTriesLockOnCloneExceded(Object objectToClone) {
  Object[] args = { objectToClone, CR };
  ConcurrencyException concurrencyException = new ConcurrencyException(ExceptionMessageGenerator.buildMessage(ConcurrencyException.class, MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE, args));
  concurrencyException.setErrorCode(MAX_TRIES_EXCEDED_FOR_LOCK_ON_CLONE);
  return concurrencyException;
}
org.eclipse.persistence.exceptionsConcurrencyException<init>

Javadoc

INTERNAL: TopLink exceptions should only be thrown by TopLink.

Popular methods of ConcurrencyException

  • maxTriesLockOnBuildObjectExceded
  • maxTriesLockOnCloneExceded
  • setErrorCode
  • signalAttemptedBeforeWait
  • waitFailureOnClientSession
  • waitFailureOnSequencingForDatabaseSession
  • waitFailureOnServerSession
  • waitWasInterrupted

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • notifyDataSetChanged (ArrayAdapter)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • BigInteger (java.math)
    Immutable arbitrary-precision integers. All operations behave as if BigIntegers were represented in
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now