Visual Basic Custom Exception In Python