def __init__(self, *args, **kwargs):
if self.base_args:<EOL><INDENT>message = self.__doc__<EOL>targs = dict(zip(self.base_args, args))<EOL>targs.update(kwargs)<EOL>kwargs = targs<EOL><DEDENT>elif args:<EOL><INDENT>message = args[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>message = self.__doc__<EOL><DEDENT>super(AppathyException, self).__init__(message % kwargs)<EOL>
Initialize an AppathyException.