Revision: 63
http://mud4j.svn.sourceforge.net/mud4j/?rev=63&view=rev
Author: mpurland
Date: 2006-12-24 15:10:40 -0800 (Sun, 24 Dec 2006)
Log Message:
-----------
Add exception for effects that do not exist.
Added Paths:
-----------
trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java
Added: trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java (rev 0)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java 2006-12-24 23:10:40 UTC (rev 63)
@@ -0,0 +1,30 @@
+/**
+ * Copyright 2006 Matthew Purland (m.p...@gm...)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package net.sf.mud4j.effect;
+
+/**
+ * Exception that occurs when there is no such effect.
+ *
+ * @author Matthew Purland
+ */
+public class NoSuchEffectException extends EffectException {
+ public NoSuchEffectException(String mesg) {
+ super(mesg);
+ }
+ public NoSuchEffectException(String mesg, Throwable obj) {
+ super(mesg, obj);
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|