codesimian
Class ObsoleteCodeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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

Constructor Summary
ObsoleteCodeException()
           
ObsoleteCodeException(java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 
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
 

Constructor Detail

ObsoleteCodeException

public ObsoleteCodeException()

ObsoleteCodeException

public ObsoleteCodeException(java.lang.String message)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable