codesimian
Class ObsoleteCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
codesimian.ObsoleteCodeException
- All Implemented Interfaces:
- java.io.Serializable
public class ObsoleteCodeException
- extends java.lang.RuntimeException
Throw this when obsolete code is executed by new code that calls old code
but old code does not fit the new requirements.
Example: Now is 9/05. The following change needs to be made, and if casting does not work, it might throw this.
//CS should implement CSInterface as soon as possible, then change names "CS"-->"DefaultCS" and "CSInterface"-->"CS".
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ObsoleteCodeException
public ObsoleteCodeException()
ObsoleteCodeException
public ObsoleteCodeException(java.lang.String message)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable