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

How to use
XMLParseException
in
org.eclipse.persistence.exceptions

Best Java code snippets using org.eclipse.persistence.exceptions.XMLParseException (Showing top 20 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingXMLReader(URL url, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_XML_READER);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 * TopLink exceptions should only be thrown by TopLink.
 */
protected XMLParseException(String message, Throwable internalException) {
  super(message);
  setInternalException(internalException);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  private static XMLParseException getXMLParseException(Object[] args, Exception cause, int errorCode) {
    XMLParseException parseException = new XMLParseException(ExceptionMessageGenerator.buildMessage(XMLParseException.class, errorCode, args), cause);
    parseException.setErrorCode(errorCode);
    return parseException;
  }
}
origin: com.haulmont.thirdparty/eclipselink

  sp = spf.newSAXParser();
} catch (javax.xml.parsers.ParserConfigurationException exc){
  throw XMLParseException.exceptionCreatingSAXParser(baseURL, exc);
} catch (org.xml.sax.SAXException exc){
  throw XMLParseException.exceptionCreatingSAXParser(baseURL, exc);
  xmlReader.setErrorHandler(xmlErrorHandler);
} catch (org.xml.sax.SAXException exc){
  throw XMLParseException.exceptionCreatingXMLReader(baseURL, exc);
origin: com.haulmont.thirdparty/eclipselink

  private static XMLParseException getXMLParseException(Object[] args, Exception cause, int errorCode) {
    XMLParseException parseException = new XMLParseException(ExceptionMessageGenerator.buildMessage(XMLParseException.class, errorCode, args), cause);
    parseException.setErrorCode(errorCode);
    return parseException;
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
public static XMLParseException exceptionReadingXMLDocument(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_READING_XML_DOCUMENT);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  private static XMLParseException getXMLParseException(Object[] args, Exception cause, int errorCode) {
    XMLParseException parseException = new XMLParseException(ExceptionMessageGenerator.buildMessage(XMLParseException.class, errorCode, args), cause);
    parseException.setErrorCode(errorCode);
    return parseException;
  }
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 * TopLink exceptions should only be thrown by TopLink.
 */
protected XMLParseException(String message, Throwable internalException) {
  super(message);
  setInternalException(internalException);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingSAXParser(URL url, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_SAX_PARSER);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 * TopLink exceptions should only be thrown by TopLink.
 */
protected XMLParseException(String message, Throwable internalException) {
  super(message);
  setInternalException(internalException);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_CREATING_DOCUMENT_BUILDER);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_CREATING_DOCUMENT_BUILDER);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingXMLReader(URL url, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_XML_READER);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 */
public static XMLParseException exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {baseUrl, schemaUrl}, cause, EXCEPTION_SETTING_SCHEMA_SOURCE);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingDocumentBuilder(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_CREATING_DOCUMENT_BUILDER);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 */
public static XMLParseException exceptionReadingXMLDocument(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_READING_XML_DOCUMENT);
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/**
 * INTERNAL:
 */
public static XMLParseException exceptionReadingXMLDocument(String xmlDocument, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {xmlDocument}, cause, EXCEPTION_READING_XML_DOCUMENT);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingXMLReader(URL url, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_XML_READER);
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL:
 */
public static XMLParseException exceptionSettingSchemaSource(URL baseUrl, URL schemaUrl, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {baseUrl, schemaUrl}, cause, EXCEPTION_SETTING_SCHEMA_SOURCE);
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
public static XMLParseException exceptionCreatingSAXParser(URL url, Exception cause) {
  return XMLParseException.getXMLParseException(new Object[] {url}, cause, EXCEPTION_CREATING_SAX_PARSER);
}
org.eclipse.persistence.exceptionsXMLParseException

Most used methods

  • <init>
    INTERNAL: TopLink exceptions should only be thrown by TopLink.
  • getXMLParseException
  • setErrorCode
  • setInternalException
  • exceptionCreatingSAXParser
    INTERNAL:
  • exceptionCreatingXMLReader
    INTERNAL:

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • Menu (java.awt)
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 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