Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This compliant solution overrides the overdraft() method and throws an exception to prevent misuse of the overdraft feature.

Code Block
bgColor#FFCCCC#ccccff
protected void overdraft() { // this method ia added at a later date
  throw new IllegalAccessException(); 
}

...