Exception Handling in google app engine
Posted
by Rahul99
on Stack Overflow
See other posts from Stack Overflow
or by Rahul99
Published on 2010-03-29T11:03:43Z
Indexed on
2010/03/29
13:03 UTC
Read the original article
Hit count: 271
i am raising exception using
if UserId == '' and Password == '':
raise Exception.MyException , "wrong userId or password"
but i want print the error message on same page
class MyException(Exception):
def __init__(self,msg):
Exception.__init__(self,msg)
© Stack Overflow or respective owner