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

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

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

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

/**
 * INTERNAL
 * Create an exception to wrap a general parsing exception
 */
public static JPQLException generalParsingException(String theEjbql, Exception theException) {
  Object[] args = { theEjbql, theException.getMessage() };
  String message = ExceptionMessageGenerator.buildMessage(JPQLException.class, generalParsingException, args);
  JPQLException exception = new JPQLException(message, theException, generalParsingException);
  exception.setErrorCode(generalParsingException);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException aliasResolutionException(String query, int line, int column, String theAlias) {
  Object[] args = { query, line, column, theAlias };
  String message = ExceptionMessageGenerator.buildMessage(JPQLException.class, aliasResolutionException, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(aliasResolutionException);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException expressionNotSupported(String query, String unsupportedExpression) {
  Object[] args = { query, unsupportedExpression };
  String message = ExceptionMessageGenerator.buildMessage(JPQLException.class, expressionNotSupported, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(expressionNotSupported);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException invalidMultipleUseOfSameParameter(
  String query, int line, int column, String parameter, String oldType, String newType) {
  Object[] args = { query, line, column , parameter, oldType, newType };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidMultipleUseOfSameParameter, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidMultipleUseOfSameParameter);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException syntaxErrorAt(String query, int line, int column, String token, Exception ex) {
  Object[] args = { query, line, column, token };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, syntaxErrorAt, args);
  JPQLException exception = new JPQLException(message, ex);
  exception.setErrorCode(syntaxErrorAt);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException unexpectedEOF(String query, int line, int column, Exception ex) {
  Object[] args = { query, line, column};
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, unexpectedEOF, args);
  JPQLException exception = new JPQLException(message, ex);
  exception.setErrorCode(unexpectedEOF);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException invalidEnumEqualExpression(String query, int line, int column, String enumType, String type) {
  Object[] args = { query, line, column, enumType, type };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidEnumEqualExpression, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidEnumEqualExpression);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException variableCannotHaveMapKey(String query, int line, int column, String name) {
  Object[] args = { query, line, column, name };
  String message = ExceptionMessageGenerator.buildMessage(JPQLException.class, variableCannotHaveMapKey, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(variableCannotHaveMapKey);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException invalidCollectionMemberDecl(String query, int line, int column, String attributeName) {
  Object[] args = { query, line, column, attributeName };
  String message = ExceptionMessageGenerator.buildMessage(
      JPQLException.class, invalidCollectionMemberDecl, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidCollectionMemberDecl);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException notYetImplemented(String query, String detail) {
  Object[] args = { query, detail };
  String message = ExceptionMessageGenerator.buildMessage(
      JPQLException.class, notYetImplemented, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(notYetImplemented);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException constructorClassNotFound(String query, int line, int column, String className) {
  Object[] args = { query, line, column, className };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, constructorClassNotFound, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(constructorClassNotFound);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException invalidSelectForGroupByQuery(String query, int line, int column, String select, String groupBy) {
  Object[] args = { query, line, column, select, groupBy };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidSelectForGroupByQuery, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidSelectForGroupByQuery);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException unsupportJoinArgument(String query, int line, int column, String join, String type) {
  Object[] args = { query, line, column, join, type };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, unsupportJoinArgument, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(unsupportJoinArgument);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException expectedOrderableOrderByItem(String query, int line, int column, String item, String type) {
  Object[] args = { query, line, column, item, type };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, expectedOrderableOrderByItem, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(expectedOrderableOrderByItem);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException unexpectedChar(String query, int line, int column, String unexpected, Exception ex) {
  Object[] args = { query, line, column, unexpected };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, unexpectedChar, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(unexpectedChar);
  return exception;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

public static JPQLException invalidNavigation(
  String query, int line, int column, String expr, String lhs, String type) {
  Object[] args = { query, line, column, expr, lhs, type };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidNavigation, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidNavigation);
  return exception;
}
origin: com.haulmont.thirdparty/eclipselink

public static JPQLException classNotFoundException(String theClassName, String theMessage, Exception theException) {
  Object[] args = { theClassName, theMessage };
  String message = ExceptionMessageGenerator.buildMessage(JPQLException.class, classNotFoundException, args);
  JPQLException exception = new JPQLException(message, theException, classNotFoundException);
  exception.setErrorCode(classNotFoundException);
  return exception;
}
origin: com.haulmont.thirdparty/eclipselink

public static JPQLException invalidSizeArgument(String query, int line, int column, String attributeName) {
  Object[] args = { query, line, column, attributeName };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidSizeArgument, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidSizeArgument);
  return exception;
}
origin: com.haulmont.thirdparty/eclipselink

public static JPQLException unexpectedChar(String query, int line, int column, String unexpected, Exception ex) {
  Object[] args = { query, line, column, unexpected };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, unexpectedChar, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(unexpectedChar);
  return exception;
}
origin: com.haulmont.thirdparty/eclipselink

public static JPQLException invalidSetClauseNavigation(
  String query, int line, int column, String expr, String relationship) {
  Object[] args = { query, line, column, expr, relationship };
  String message = ExceptionMessageGenerator.buildMessage(
    JPQLException.class, invalidSetClauseNavigation, args);
  JPQLException exception = new JPQLException(message);
  exception.setErrorCode(invalidSetClauseNavigation);
  return exception;
}
org.eclipse.persistence.exceptionsJPQLException<init>

Javadoc

INTERNAL Only TopLink can throw and create these excpetions

Popular methods of JPQLException

  • 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
  • invalidEnumEqualExpression
  • invalidCollectionNavigation,
  • invalidEnumEqualExpression,
  • invalidEnumLiteral,
  • invalidExpressionArgument,
  • invalidFunctionArgument,
  • invalidMultipleUseOfSameParameter,
  • invalidNavigation,
  • invalidSetClauseNavigation,
  • invalidSetClauseTarget

Popular in Java

  • Finding current android device location
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JFileChooser (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • 21 Best Atom Packages for 2021
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