Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/StaticError.java')
-rw-r--r--bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/StaticError.java46
1 files changed, 0 insertions, 46 deletions
diff --git a/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/StaticError.java b/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/StaticError.java
deleted file mode 100644
index b2edbaa..0000000
--- a/bundles/org.eclipse.wst.xml.xpath2.processor/src/org/eclipse/wst/xml/xpath2/processor/StaticError.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2005, 2009 Andrea Bittau, University College London, and others
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Andrea Bittau - initial API and implementation from the PsychoPath XPath 2.0
- *******************************************************************************/
-
-package org.eclipse.wst.xml.xpath2.processor;
-
-
-/**
- * Base class for all static errors as defined by the XPath 2.0 specification
- *
- */
-public class StaticError extends XPathException {
- /**
- *
- */
- private static final long serialVersionUID = 7870866130837870971L;
- // errorcode specified in http://www.w3.org/2004/10/xqt-errors i fink
- private String _code;
-
- /**
- * Constructor for a generic static error
- *
- * @param code
- * The error code as specified in XPath 2.0
- * @param err
- * Humar readable error message
- */
- public StaticError(String code, String err) {
- super(err);
- _code = code;
- }
-
- /**
- * @return error code which represents the error
- */
- public String code() {
- return _code;
- }
-}

Back to the top