genbastechthoughts.wordpress.com
Lesson 6. Class definition, inheritance and custom exceptions
Visit the post for more.