congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • getSharedPreferences (Context)
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top 12 Jupyter Notebook extensions
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