RuntimeExceptionTranslator
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.apache.openjpa.util.RuntimeExceptionTranslator(Showing top 15 results out of 315)

origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the given exception based on the broker's implicit behavior.
 * Translation only occurs if the exception is initiated by a user action
 * on an instance, and therefore will not be caught and translated by the
 * broker.
 */
protected RuntimeException translate(RuntimeException re) {
  RuntimeExceptionTranslator trans = _broker.getInstanceExceptionTranslator();
  return (trans == null) ? re : trans.translate(re);
}
origin: org.apache.openjpa/openjpa-all

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa-all

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa-kernel

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa-kernel

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa-kernel

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa-kernel

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}

origin: org.apache.openjpa/openjpa

/**
 * If we're in a managed transaction, use our implicit behavior exception
 * translator to translate before/afterCompletion callback errors.
 */
private RuntimeException translateManagedCompletionException
  (RuntimeException re) {
  return (!_managed || _extrans == null) ? re : _extrans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
origin: org.apache.openjpa/openjpa

/**
 * Translate the OpenJPA exception.
 */
protected RuntimeException translate(RuntimeException re) {
  return (_trans == null) ? re : _trans.translate(re);
}
org.apache.openjpa.utilRuntimeExceptionTranslator

Javadoc

Interface used by many facade helpers to translate exceptions.

Most used methods

  • translate
    Translate the given exception.

Popular classes and methods

  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • startActivity (Activity)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTextField (javax.swing)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d

For IntelliJ IDEA,
Android Studio or Eclipse

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)