Package org.exist.xquery.ErrorCodes

Examples of org.exist.xquery.ErrorCodes.JavaErrorCode


    catch(IOException ioex) {
      // TODO - test!
      throw new XPathException(this, ErrorCodes.FODC0002, ioex.getMessage());
    }
    catch(EXIException exie) {
      throw new XPathException(this, new JavaErrorCode(exie.getCause()), exie.getMessage());
    }
    catch(SAXException saxe) {
      throw new XPathException(this, new JavaErrorCode(saxe.getCause()), saxe.getMessage());
    }
  }
View Full Code Here


       
        NodeValue node  = (NodeValue)builder.getDocument().getDocumentElement();
        return node;
    }
    catch(EXIException exie) {
      throw new XPathException(this, new JavaErrorCode(exie.getCause()), exie.getMessage());
    }
    catch(SAXException saxe) {
      throw new XPathException(this, new JavaErrorCode(saxe.getCause()), saxe.getMessage());
    }
    catch(IOException ioex) {
      throw new XPathException(this, new JavaErrorCode(ioex.getCause()), ioex.getMessage());
    }
  }
View Full Code Here

                    errorCode = extractErrorCode(xpe);
                }

            } else {
                // Get errorcode from all other errors and exceptions
                errorCode = new JavaErrorCode(throwable);
            }

            // We need the qname in the end
            final QName errorCodeQname = errorCode.getErrorQName();
View Full Code Here

TOP

Related Classes of org.exist.xquery.ErrorCodes.JavaErrorCode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.