first scanner /parser copied from the jdt java version
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / core / compiler / InvalidInputException.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/compiler/InvalidInputException.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/core/compiler/InvalidInputException.java
new file mode 100644 (file)
index 0000000..a4367a7
--- /dev/null
@@ -0,0 +1,32 @@
+/**********************************************************************
+Copyright (c) 2002 IBM Corp. and others.
+All rights reserved.   This program and the accompanying materials
+are made available under the terms of the Common Public License v0.5
+which accompanies this distribution, and is available at
+http://www.eclipse.org/legal/cpl-v05.html
+Contributors:
+     IBM Corporation - initial API and implementation
+**********************************************************************/
+
+package net.sourceforge.phpdt.core.compiler;
+
+/**
+ * Exception thrown by a scanner when encountering lexical errors.
+ */
+public class InvalidInputException extends Exception {
+
+       /**
+        * InvalidInputException constructor comment.
+        */
+       public InvalidInputException() {
+               super();
+       }
+       /**
+        * InvalidInputException constructor comment.
+        * @param s java.lang.String
+        */
+       public InvalidInputException(String s) {
+               super(s);
+       }
+}