[mud4j-commit] SF.net SVN: mud4j: [122] trunk/mud4j-core/src/java/net/sf/mud4j/effect/ NoSuchEffect
Status: Pre-Alpha
Brought to you by:
mpurland
|
From: <mpu...@us...> - 2007-06-03 01:08:51
|
Revision: 122
http://mud4j.svn.sourceforge.net/mud4j/?rev=122&view=rev
Author: mpurland
Date: 2007-06-02 18:08:51 -0700 (Sat, 02 Jun 2007)
Log Message:
-----------
Fix javadoc and add serial id.
Modified Paths:
--------------
trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java
Modified: trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java
===================================================================
--- trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java 2007-06-03 01:06:25 UTC (rev 121)
+++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/NoSuchEffectException.java 2007-06-03 01:08:51 UTC (rev 122)
@@ -21,10 +21,27 @@
* @author Matthew Purland
*/
public class NoSuchEffectException extends EffectException {
+
+ private static final long serialVersionUID = 625318920334455836L;
+
+ /**
+ * Constructs a new exception that occurs when there is no such effect with
+ * a detailed message.
+ *
+ * @param mesg the detailed message
+ */
public NoSuchEffectException(String mesg) {
super(mesg);
}
- public NoSuchEffectException(String mesg, Throwable obj) {
- super(mesg, obj);
+
+ /**
+ * Constructs a new exception that occurs when there is no such effect with
+ * a detailed message and cause.
+ *
+ * @param mesg the detailed message
+ * @param cause the cause of the original error
+ */
+ public NoSuchEffectException(String mesg, Throwable cause) {
+ super(mesg, cause);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|