Java Custom Exception Class Python Tutorial