Command line demo classes, error handling streamlined with dedicated exception type