[mud4j-commit] SF.net SVN: mud4j: [121] trunk/mud4j-core/src/java/net/sf/mud4j/effect/ EffectExcept
Status: Pre-Alpha
Brought to you by:
mpurland
From: <mpu...@us...> - 2007-06-03 01:06:26
|
Revision: 121 http://mud4j.svn.sourceforge.net/mud4j/?rev=121&view=rev Author: mpurland Date: 2007-06-02 18:06:25 -0700 (Sat, 02 Jun 2007) Log Message: ----------- Fix javadoc and add serial id. Modified Paths: -------------- trunk/mud4j-core/src/java/net/sf/mud4j/effect/EffectException.java Modified: trunk/mud4j-core/src/java/net/sf/mud4j/effect/EffectException.java =================================================================== --- trunk/mud4j-core/src/java/net/sf/mud4j/effect/EffectException.java 2007-06-03 00:23:42 UTC (rev 120) +++ trunk/mud4j-core/src/java/net/sf/mud4j/effect/EffectException.java 2007-06-03 01:06:25 UTC (rev 121) @@ -16,18 +16,30 @@ package net.sf.mud4j.effect; /** - * Effect exception that occurs when an operation on an effect - * cannot occur. - * + * Effect exception that occurs when an operation on an effect cannot occur. + * * @author Matthew Purland */ -public class EffectException extends Exception { +public class EffectException extends RuntimeException { + private static final long serialVersionUID = 4356533482907810022L; + + /** + * Constructs a new effect exception with the detailed message. + * + * @param mesg the detailed message + */ public EffectException(String mesg) { super(mesg); } - - public EffectException(String mesg, Throwable obj) { - super(mesg, obj); + + /** + * Constructs a new effect exception with the detailed message and cause. + * + * @param mesg the detailed message + * @param cause the cause of the original error + */ + public EffectException(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. |