diff options
author | buraq <buraq@epfl.ch> | 2004-07-08 17:07:43 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-07-08 17:07:43 +0000 |
commit | 8d5573b5a0c4acfa7b5d95fb6885a10229bc2f98 (patch) | |
tree | 9eef04afd37a4c1537cae6a8f93f6420579fd89c | |
parent | 65cd38fb8b7adf67c85e163d4b50888c1fc5b0c0 (diff) | |
download | scala-8d5573b5a0c4acfa7b5d95fb6885a10229bc2f98.tar.gz scala-8d5573b5a0c4acfa7b5d95fb6885a10229bc2f98.tar.bz2 scala-8d5573b5a0c4acfa7b5d95fb6885a10229bc2f98.zip |
added se
-rw-r--r-- | sources/scala/util/regexp/SyntaxError.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/scala/util/regexp/SyntaxError.scala b/sources/scala/util/regexp/SyntaxError.scala new file mode 100644 index 0000000000..c6599df75c --- /dev/null +++ b/sources/scala/util/regexp/SyntaxError.scala @@ -0,0 +1,6 @@ +package scala.util.regexp ; + +/** this runtime exception is thrown if an attempt to instantiate a + * syntactically incorrect expression is detected */ +class SyntaxError(e: String) + extends java.lang.RuntimeException(e); |