congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JPQLException.setInternalExceptions
Code IndexAdd Tabnine to your IDE (free)

How to use
setInternalExceptions
method
in
org.eclipse.persistence.exceptions.JPQLException

Best Java code snippets using org.eclipse.persistence.exceptions.JPQLException.setInternalExceptions (Showing top 6 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL
 * Return the collection of internal Exceptions.
 * Intialize if there are no exceptions
 */
public Collection getInternalExceptions() {
  if (internalExceptions == null) {
    setInternalExceptions(new Vector());
  }
  return internalExceptions;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL
 * Return the collection of internal Exceptions.
 * Intialize if there are no exceptions
 */
public Collection getInternalExceptions() {
  if (internalExceptions == null) {
    setInternalExceptions(new Vector());
  }
  return internalExceptions;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL
 * Return the collection of internal Exceptions.
 * Intialize if there are no exceptions
 */
public Collection getInternalExceptions() {
  if (internalExceptions == null) {
    setInternalExceptions(new Vector());
  }
  return internalExceptions;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL
 * Generate an exception which encapsulates all the exceptions generated
 * by this parser. Special case where the first exception is an
 * JPQLException.
 */
protected JPQLException generateException() {
  //Handle exceptions we expect (such as expressionSotSupported)
  Exception firstException = (Exception)getErrors().get(0);
  if (firstException instanceof JPQLException) {
    return (JPQLException)firstException;
  }
  //Handle general exceptions, such as NPE
  JPQLException exception =
    JPQLException.generalParsingException(getQueryInfo());
  exception.setInternalExceptions(getErrors());
  return exception;
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL
 * Generate an exception which encapsulates all the exceptions generated
 * by this parser. Special case where the first exception is an
 * JPQLException. 
 */
protected JPQLException generateException() {
  //Handle exceptions we expect (such as expressionSotSupported)
  Exception firstException = (Exception)getErrors().get(0);
  if (firstException instanceof JPQLException) {
    return (JPQLException)firstException;
  }
  //Handle general exceptions, such as NPE
  JPQLException exception = 
    JPQLException.generalParsingException(getQueryInfo());
  exception.setInternalExceptions(getErrors());
  return exception;
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL
 * Generate an exception which encapsulates all the exceptions generated
 * by this parser. Special case where the first exception is an
 * JPQLException. 
 */
protected JPQLException generateException() {
  //Handle exceptions we expect (such as expressionSotSupported)
  Exception firstException = (Exception)getErrors().get(0);
  if (firstException instanceof JPQLException) {
    return (JPQLException)firstException;
  }
  //Handle general exceptions, such as NPE
  JPQLException exception = 
    JPQLException.generalParsingException(getQueryInfo());
  exception.setInternalExceptions(getErrors());
  return exception;
}
org.eclipse.persistence.exceptionsJPQLExceptionsetInternalExceptions

Javadoc

INTERNAL Store the exceptions related to this exception

Popular methods of JPQLException

  • <init>
    INTERNAL Only TopLink can throw and create these excpetions
  • aliasResolutionException
  • constructorClassNotFound
  • entityTypeNotFound
    JPQLException Entity Type Not Found Indicates that a type specified in a JPQL query string cannot b
  • entityTypeNotFound2
  • expectedOrderableOrderByItem
  • generalParsingException
    INTERNAL Create an exception to wrap a general parsing exception
  • getInternalExceptions
    INTERNAL Return the collection of internal Exceptions. Intialize if there are no exceptions
  • hasInternalExceptions
    INTERNAL Does this exception have any internal errors?
  • indexOnlyAllowedOnVariable
  • invalidCollectionMemberDecl
  • invalidCollectionNavigation
  • invalidCollectionMemberDecl,
  • invalidCollectionNavigation,
  • invalidEnumEqualExpression,
  • invalidEnumLiteral,
  • invalidExpressionArgument,
  • invalidFunctionArgument,
  • invalidMultipleUseOfSameParameter,
  • invalidNavigation,
  • invalidSetClauseNavigation,
  • invalidSetClauseTarget

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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